Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/eggfindbar.c
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2008-09-07 17:34:47 (GMT)
committer Carlos Garcia Campos <carlosgc@src.gnome.org>2008-09-07 17:34:47 (GMT)
commit351a9e5e125d2afdbed88b8d6d39ff289c99f06b (patch)
tree3f02e9bb5450b6cddbbd75de90b86ac1c55b145f /shell/eggfindbar.c
parent5f7d46028f2345a1e4d1690fc8d2228fc1a9c506 (diff)
Allow page scrolling with PageUp/PageDown keys when find bar is active.
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
Diffstat (limited to 'shell/eggfindbar.c')
-rw-r--r--shell/eggfindbar.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/shell/eggfindbar.c b/shell/eggfindbar.c
index bfa9e12..8b8ba26 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