diff options
Diffstat (limited to 'libview')
-rw-r--r-- | libview/ev-view.c | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/libview/ev-view.c b/libview/ev-view.c index 60afb088..5d4c7e77 100644 --- a/libview/ev-view.c +++ b/libview/ev-view.c @@ -6332,14 +6332,18 @@ ev_view_class_init (EvViewClass *class) add_scroll_binding_keypad (binding_set, GDK_KEY_Down, 0, GTK_SCROLL_STEP_FORWARD, GTK_ORIENTATION_VERTICAL); add_scroll_binding_keypad (binding_set, GDK_KEY_Up, GDK_MOD1_MASK, GTK_SCROLL_STEP_DOWN, GTK_ORIENTATION_VERTICAL); add_scroll_binding_keypad (binding_set, GDK_KEY_Down, GDK_MOD1_MASK, GTK_SCROLL_STEP_UP, GTK_ORIENTATION_VERTICAL); - gtk_binding_entry_add_signal (binding_set, GDK_KEY_H, 0, "scroll", 2, GTK_TYPE_SCROLL_TYPE, - GTK_SCROLL_STEP_BACKWARD, G_TYPE_BOOLEAN, GTK_ORIENTATION_HORIZONTAL); - gtk_binding_entry_add_signal (binding_set, GDK_KEY_J, 0, "scroll", 2, GTK_TYPE_SCROLL_TYPE, - GTK_SCROLL_STEP_FORWARD, G_TYPE_BOOLEAN, GTK_ORIENTATION_VERTICAL); - gtk_binding_entry_add_signal (binding_set, GDK_KEY_K, 0, "scroll", 2, GTK_TYPE_SCROLL_TYPE, - GTK_SCROLL_STEP_BACKWARD, G_TYPE_BOOLEAN, GTK_ORIENTATION_VERTICAL); - gtk_binding_entry_add_signal (binding_set, GDK_KEY_L, 0, "scroll", 2, GTK_TYPE_SCROLL_TYPE, - GTK_SCROLL_STEP_FORWARD, G_TYPE_BOOLEAN, GTK_ORIENTATION_HORIZONTAL); + gtk_binding_entry_add_signal (binding_set, GDK_KEY_H, 0, "scroll", 2, + GTK_TYPE_SCROLL_TYPE, GTK_SCROLL_STEP_BACKWARD, + GTK_TYPE_ORIENTATION, GTK_ORIENTATION_HORIZONTAL); + gtk_binding_entry_add_signal (binding_set, GDK_KEY_J, 0, "scroll", 2, + GTK_TYPE_SCROLL_TYPE, GTK_SCROLL_STEP_FORWARD, + GTK_TYPE_ORIENTATION, GTK_ORIENTATION_VERTICAL); + gtk_binding_entry_add_signal (binding_set, GDK_KEY_K, 0, "scroll", 2, + GTK_TYPE_SCROLL_TYPE, GTK_SCROLL_STEP_BACKWARD, + GTK_TYPE_ORIENTATION, GTK_ORIENTATION_VERTICAL); + gtk_binding_entry_add_signal (binding_set, GDK_KEY_L, 0, "scroll", 2, + GTK_TYPE_SCROLL_TYPE, GTK_SCROLL_STEP_FORWARD, + GTK_TYPE_ORIENTATION, GTK_ORIENTATION_HORIZONTAL); } static void |