[evince] [shell] Make "p" and "n" accels unsensitive while searching



commit 82e3135caffacbff9a606bca854c6af01bd0b049
Author: Carlos Garcia Campos <carlosgc gnome org>
Date:   Thu Nov 19 19:26:53 2009 +0100

    [shell] Make "p" and "n" accels unsensitive while searching

 shell/ev-window.c |    2 ++
 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);
 	}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]