evince r3163 - in trunk: . shell



Author: carlosgc
Date: Sun Sep  7 17:34:47 2008
New Revision: 3163
URL: http://svn.gnome.org/viewvc/evince?rev=3163&view=rev

Log:
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.


Modified:
   trunk/ChangeLog
   trunk/shell/eggfindbar.c

Modified: trunk/shell/eggfindbar.c
==============================================================================
--- trunk/shell/eggfindbar.c	(original)
+++ trunk/shell/eggfindbar.c	Sun Sep  7 17:34:47 2008
@@ -187,10 +187,21 @@
   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



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