]> www.fi.muni.cz Git - evince.git/commitdiff
Make rotate menu entries unsensitive if there is not a document open
authorCarlos Garcia Campos <carlosgc@gnome.org>
Fri, 24 Jun 2005 17:40:59 +0000 (17:40 +0000)
committerCarlos Garcia Campos <carlosgc@src.gnome.org>
Fri, 24 Jun 2005 17:40:59 +0000 (17:40 +0000)
2005-06-24  Carlos Garcia Campos  <carlosgc@gnome.org>
* shell/ev-window.c: Make rotate menu entries unsensitive if there is
not a document open

ChangeLog
shell/ev-window.c

index bfcc536683398a1794ed753c594d36ffe78f08f3..5090608d167ed55b0936bcc343e80d55fc0b8c47 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-06-24  Carlos Garcia Campos  <carlosgc@gnome.org>
+
+       * shell/ev-window.c: Make rotate menu entries unsensitive if there is
+       not a document open
+
 2005-06-24  Marco Pesenti Gritti  <mpg@redhat.com>
 
        * NEWS:
index 37531df608cbdcaa42cfd153b1875c8ede6abb1b..836bc918a4b4e100e77e392387d6b88a8be04df0 100644 (file)
@@ -257,6 +257,8 @@ update_action_sensitivity (EvWindow *ev_window)
                              has_pages && EV_IS_DOCUMENT_FIND (document));
        set_action_sensitive (ev_window, "EditFindNext",
                              ev_view_can_find_next (view));
+       set_action_sensitive (ev_window, "EditRotateLeft", has_document);
+       set_action_sensitive (ev_window, "EditRotateRight", has_document);
 
         /* View menu */
        set_action_sensitive (ev_window, "ViewContinuous", has_pages);