Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2009-11-19 18:26:53 (GMT)
committer Carlos Garcia Campos <carlosgc@gnome.org>2009-11-19 18:26:53 (GMT)
commit82e3135caffacbff9a606bca854c6af01bd0b049 (patch)
tree2e3a388e063ab943f370dafaf0c38366e9507fb3 /shell
parent71092ede528c45681c9130e5493308f32afc619a (diff)
[shell] Make "p" and "n" accels unsensitive while searching
Diffstat (limited to 'shell')
-rw-r--r--shell/ev-window.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/ev-window.c b/shell/ev-window.c
index e13fce8..fcd59de 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -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);
}