Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpg@redhat.com>2005-05-10 08:38:33 (GMT)
committer Marco Pesenti Gritti <marco@src.gnome.org>2005-05-10 08:38:33 (GMT)
commit1cae373877770afcec33a277b4d52c945c0755bd (patch)
treee6521c1aa652c45385f5fc5b2bac67721ceb4cf1 /shell
parentc24bfaefe6c1ee9bc493326088051740457e1f50 (diff)
Set slash action insensitive when appropriate
2005-05-10 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-window.c: (update_action_sensitivity): Set slash action insensitive when appropriate
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 253830a..8a0ec4e 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -214,6 +214,8 @@ update_action_sensitivity (EvWindow *ev_window)
set_action_sensitive (ev_window, "EditSelectAll", sensitive);
set_action_sensitive (ev_window, "EditFind",
has_pages && EV_IS_DOCUMENT_FIND (document));
+ set_action_sensitive (ev_window, "Slash",
+ has_pages && EV_IS_DOCUMENT_FIND (document));
set_action_sensitive (ev_window, "EditFindNext",
ev_view_can_find_next (view));