From f7a5d890679d9ad31bd15a0ef2fcd39ec5e58726 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Fri, 24 Jun 2005 17:40:59 +0000 Subject: [PATCH] Make rotate menu entries unsensitive if there is not a document open 2005-06-24 Carlos Garcia Campos * shell/ev-window.c: Make rotate menu entries unsensitive if there is not a document open --- ChangeLog | 5 +++++ shell/ev-window.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index bfcc5366..5090608d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-06-24 Carlos Garcia Campos + + * shell/ev-window.c: Make rotate menu entries unsensitive if there is + not a document open + 2005-06-24 Marco Pesenti Gritti * NEWS: diff --git a/shell/ev-window.c b/shell/ev-window.c index 37531df6..836bc918 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); -- 2.43.5