From: Carlos Garcia Campos Date: Fri, 24 Jun 2005 17:40:59 +0000 (+0000) Subject: Make rotate menu entries unsensitive if there is not a document open X-Git-Tag: EVINCE_0_3_3~204 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=f7a5d890679d9ad31bd15a0ef2fcd39ec5e58726;p=evince.git 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 --- 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);