From 1cae373877770afcec33a277b4d52c945c0755bd Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Tue, 10 May 2005 08:38:33 +0000 Subject: [PATCH] Set slash action insensitive when appropriate 2005-05-10 Marco Pesenti Gritti * shell/ev-window.c: (update_action_sensitivity): Set slash action insensitive when appropriate --- ChangeLog | 6 ++++++ shell/ev-window.c | 2 ++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 12d69277..6fc557ce 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-05-10 Marco Pesenti Gritti + + * shell/ev-window.c: (update_action_sensitivity): + + Set slash action insensitive when appropriate + 2005-05-10 Christian Persch * cut-n-paste/zoom-control/ephy-zoom-action.c: (create_menu_item): diff --git a/shell/ev-window.c b/shell/ev-window.c index 253830a3..8a0ec4ef 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)); -- 2.43.5