summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shell/eggfindbar.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/shell/eggfindbar.c b/shell/eggfindbar.c
index ee9eb6e0..091a5b1a 100644
--- a/shell/eggfindbar.c
+++ b/shell/eggfindbar.c
@@ -106,7 +106,7 @@ egg_find_bar_class_init (EggFindBarClass *klass)
find_bar_signals[NEXT] =
g_signal_new ("next",
G_OBJECT_CLASS_TYPE (object_class),
- G_SIGNAL_RUN_FIRST,
+ G_SIGNAL_RUN_FIRST | G_SIGNAL_ACTION,
G_STRUCT_OFFSET (EggFindBarClass, next),
NULL, NULL,
g_cclosure_marshal_VOID__VOID,
@@ -114,7 +114,7 @@ egg_find_bar_class_init (EggFindBarClass *klass)
find_bar_signals[PREVIOUS] =
g_signal_new ("previous",
G_OBJECT_CLASS_TYPE (object_class),
- G_SIGNAL_RUN_FIRST,
+ G_SIGNAL_RUN_FIRST | G_SIGNAL_ACTION,
G_STRUCT_OFFSET (EggFindBarClass, previous),
NULL, NULL,
g_cclosure_marshal_VOID__VOID,
@@ -208,6 +208,11 @@ egg_find_bar_class_init (EggFindBarClass *klass)
gtk_binding_entry_add_signal (binding_set, GDK_KEY_KP_Page_Down, 0,
"scroll", 1,
GTK_TYPE_SCROLL_TYPE, GTK_SCROLL_PAGE_FORWARD);
+
+ gtk_binding_entry_add_signal (binding_set, GDK_KEY_Up, GDK_CONTROL_MASK,
+ "previous", 0);
+ gtk_binding_entry_add_signal (binding_set, GDK_KEY_Down, GDK_CONTROL_MASK,
+ "next", 0);
}
static void