From: Carlos Garcia Campos Date: Sun, 7 Sep 2008 17:34:47 +0000 (+0000) Subject: Allow page scrolling with PageUp/PageDown keys when find bar is active. X-Git-Tag: EVINCE_2_23_92~6 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=351a9e5e125d2afdbed88b8d6d39ff289c99f06b;p=evince.git Allow page scrolling with PageUp/PageDown keys when find bar is active. 2008-09-07 Carlos Garcia Campos * 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 --- diff --git a/ChangeLog b/ChangeLog index 4949510c..45beab0c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-09-07 Carlos Garcia Campos + + * 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 * shell/ev-view-private.h: diff --git a/shell/eggfindbar.c b/shell/eggfindbar.c index bfa9e126..8b8ba262 100644 --- a/shell/eggfindbar.c +++ b/shell/eggfindbar.c @@ -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