]> www.fi.muni.cz Git - evince.git/commitdiff
Fix zoom shortcut keys when searching. Fixes bug #409828.
authorCarlos Garcia Campos <carlosgc@gnome.org>
Tue, 20 Feb 2007 14:43:53 +0000 (14:43 +0000)
committerCarlos Garcia Campos <carlosgc@src.gnome.org>
Tue, 20 Feb 2007 14:43:53 +0000 (14:43 +0000)
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

ChangeLog
shell/ev-window.c

index 905792eab6fc9102102dced20aa6bde10f12fdae..86bdca629cfb3d6588984c0a744cb710d51bf767 100644 (file)
--- 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):
index 30f2c20c4f3a7cdf2fce209bf13f9d9e296e71a6..81e7354dc101d5bb9005380178dbe4d7c9560824 100644 (file)
@@ -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