]> www.fi.muni.cz Git - evince.git/commitdiff
Allow page scrolling with PageUp/PageDown keys when find bar is active.
authorCarlos Garcia Campos <carlosgc@gnome.org>
Sun, 7 Sep 2008 17:34:47 +0000 (17:34 +0000)
committerCarlos Garcia Campos <carlosgc@src.gnome.org>
Sun, 7 Sep 2008 17:34:47 +0000 (17:34 +0000)
2008-09-07  Carlos Garcia Campos  <carlosgc@gnome.org>

* shell/eggfindbar.c: (egg_find_bar_class_init):

Allow page scrolling with PageUp/PageDown keys when find bar is
active. Fixes bug #529833.

svn path=/trunk/; revision=3163

ChangeLog
shell/eggfindbar.c

index 4949510c50bd94532f9111ce49afba79571d25c2..45beab0c63d8cae69353fad2bbe4f9aba0fc0f6f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-09-07  Carlos Garcia Campos  <carlosgc@gnome.org>
+
+       * shell/eggfindbar.c: (egg_find_bar_class_init):
+
+       Allow page scrolling with PageUp/PageDown keys when find bar is
+       active. Fixes bug #529833.
+       
 2008-09-07  Carlos Garcia Campos  <carlosgc@gnome.org>
 
        * shell/ev-view-private.h:
index bfa9e1264e7e9e06f79db518fb746b9725274d3e..8b8ba262f59ef70673f928e245fa98055dae9335 100644 (file)
@@ -187,10 +187,21 @@ egg_find_bar_class_init (EggFindBarClass *klass)
   gtk_binding_entry_add_signal (binding_set, GDK_Up, 0,
                                 "scroll", 1,
                                 GTK_TYPE_SCROLL_TYPE, GTK_SCROLL_STEP_BACKWARD);
-
   gtk_binding_entry_add_signal (binding_set, GDK_Down, 0,
                                 "scroll", 1,
                                 GTK_TYPE_SCROLL_TYPE, GTK_SCROLL_STEP_FORWARD);
+  gtk_binding_entry_add_signal (binding_set, GDK_Page_Up, 0,
+                               "scroll", 1,
+                               GTK_TYPE_SCROLL_TYPE, GTK_SCROLL_PAGE_BACKWARD);
+  gtk_binding_entry_add_signal (binding_set, GDK_KP_Page_Up, 0,
+                               "scroll", 1,
+                               GTK_TYPE_SCROLL_TYPE, GTK_SCROLL_PAGE_BACKWARD);
+  gtk_binding_entry_add_signal (binding_set, GDK_Page_Down, 0,
+                               "scroll", 1,
+                               GTK_TYPE_SCROLL_TYPE, GTK_SCROLL_PAGE_FORWARD);
+  gtk_binding_entry_add_signal (binding_set, GDK_KP_Page_Down, 0,
+                               "scroll", 1,
+                               GTK_TYPE_SCROLL_TYPE, GTK_SCROLL_PAGE_FORWARD);
 }
 
 static void