From 60cab80beb1ca213e530cdf58fd0ed7d52daeb6c Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Tue, 20 Feb 2007 14:43:53 +0000 Subject: [PATCH] Fix zoom shortcut keys when searching. Fixes bug #409828. 2007-02-20 Carlos Garcia Campos * shell/ev-window.c: (ev_window_update_actions): Fix zoom shortcut keys when searching. Fixes bug #409828. svn path=/trunk/; revision=2339 --- ChangeLog | 6 ++++++ shell/ev-window.c | 9 --------- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index 905792ea..86bdca62 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-02-20 Carlos Garcia Campos + + * shell/ev-window.c: (ev_window_update_actions): + + Fix zoom shortcut keys when searching. Fixes bug #409828. + 2007-02-18 Carlos Garcia Campos * shell/ev-window.c: (ev_window_setup_document): diff --git a/shell/ev-window.c b/shell/ev-window.c index 30f2c20c..81e7354d 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -431,13 +431,6 @@ ev_window_update_actions (EvWindow *ev_window) ev_view_can_zoom_out (view) && !presentation_mode); - ev_window_set_action_sensitive (ev_window, "Plus", !presentation_mode); - ev_window_set_action_sensitive (ev_window, "Minus", !presentation_mode); - ev_window_set_action_sensitive (ev_window, "KpPlus", !presentation_mode); - ev_window_set_action_sensitive (ev_window, "KpMinus", !presentation_mode); - ev_window_set_action_sensitive (ev_window, "CtrlKpPlus", !presentation_mode); - ev_window_set_action_sensitive (ev_window, "CtrlKpMinus", !presentation_mode); - /* Go menu */ if (has_pages) { ev_window_set_action_sensitive (ev_window, "GoPreviousPage", page > 0); @@ -3757,8 +3750,6 @@ find_bar_search_changed_cb (EggFindBar *find_bar, gboolean visible; const char *search_string; - g_return_if_fail (EV_IS_WINDOW (ev_window)); - /* Either the string or case sensitivity could have changed, * we connect this callback to both. We also connect it * to ::visible so when the find bar is hidden, we should -- 2.43.5