Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2005-06-24 17:40:59 (GMT)
committer Carlos Garcia Campos <carlosgc@src.gnome.org>2005-06-24 17:40:59 (GMT)
commitf7a5d890679d9ad31bd15a0ef2fcd39ec5e58726 (patch)
tree4367b46957c01b6bf957f04b887556e4b82d1196 /shell
parenta54bf6cacb65df7cf50bf3e2d044c9dc4537618a (diff)
Make rotate menu entries unsensitive if there is not a document open
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
Diffstat (limited to 'shell')
-rw-r--r--shell/ev-window.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/ev-window.c b/shell/ev-window.c
index 37531df..836bc91 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -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);