Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2007-02-20 14:43:53 (GMT)
committer Carlos Garcia Campos <carlosgc@src.gnome.org>2007-02-20 14:43:53 (GMT)
commit60cab80beb1ca213e530cdf58fd0ed7d52daeb6c (patch)
tree9bba97da9c9b50fb2f99f6e1de8078dcda8d6b4e
parent4c523a81107e59efffe816181b82e39ce6eca82d (diff)
Fix zoom shortcut keys when searching. Fixes bug #409828.
2007-02-20 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: (ev_window_update_actions): Fix zoom shortcut keys when searching. Fixes bug #409828. svn path=/trunk/; revision=2339
-rw-r--r--ChangeLog6
-rw-r--r--shell/ev-window.c9
2 files changed, 6 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog
index 905792e..86bdca6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-02-20 Carlos Garcia Campos <carlosgc@gnome.org>
+
+ * shell/ev-window.c: (ev_window_update_actions):
+
+ Fix zoom shortcut keys when searching. Fixes bug #409828.
+
2007-02-18 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-window.c: (ev_window_setup_document):
diff --git a/shell/ev-window.c b/shell/ev-window.c
index 30f2c20..81e7354 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