]> www.fi.muni.cz Git - evince.git/commitdiff
[shell] Make "p" and "n" accels unsensitive while searching
authorCarlos Garcia Campos <carlosgc@gnome.org>
Thu, 19 Nov 2009 18:26:53 +0000 (19:26 +0100)
committerCarlos Garcia Campos <carlosgc@gnome.org>
Thu, 19 Nov 2009 18:26:53 +0000 (19:26 +0100)
shell/ev-window.c

index e13fce8f8add8da5da369a6e492ceda41dbb62ec..fcd59de46f6f1996a480feb61f43c362f6d3eee4 100644 (file)
@@ -524,6 +524,8 @@ ev_window_set_view_accels_sensitivity (EvWindow *window, gboolean sensitive)
                ev_window_set_action_sensitive (window, "KpPlus", sensitive);
                ev_window_set_action_sensitive (window, "KpMinus", sensitive);
                ev_window_set_action_sensitive (window, "Equal", sensitive);
+               ev_window_set_action_sensitive (window, "p", sensitive);
+               ev_window_set_action_sensitive (window, "n", sensitive);
 
                ev_window_set_action_sensitive (window, "Slash", sensitive && can_find);
        }