summaryrefslogtreecommitdiff
path: root/src/caja-zoom-control.c
diff options
context:
space:
mode:
authorJasmine Hassan <[email protected]>2012-11-05 23:14:35 +0200
committerJasmine Hassan <[email protected]>2012-11-16 09:45:50 +0200
commitb24f066e23fb5b204c940c229c5cdebffd2f7600 (patch)
tree405f3aba07a9951344e35e7dbd4a19e3bd76ec79 /src/caja-zoom-control.c
parent360d966dfa2a9ebe579e77d4f59a1e3b37ead28c (diff)
downloadcaja-b24f066e23fb5b204c940c229c5cdebffd2f7600.tar.bz2
caja-b24f066e23fb5b204c940c229c5cdebffd2f7600.tar.xz
[src] convert to new GDK_KEY prefix
http://git.gnome.org/browse/nautilus/commit/?id=71fa1a50145a6f06da3b805a29e75c1295fd546b Also, make sure we use GDK_KEY prefix in places-sidebar where this patch was previously applied to Caja but with old prefix: places-sidebar: allow keyboard navigation with Enter/Space (#637768) http://git.gnome.org/browse/nautilus/commit/?id=fd03c910a73ba18459e68baaf15e8dd295acd5c1
Diffstat (limited to 'src/caja-zoom-control.c')
-rw-r--r--src/caja-zoom-control.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/caja-zoom-control.c b/src/caja-zoom-control.c
index 8ba974c4..5dc79518 100644
--- a/src/caja-zoom-control.c
+++ b/src/caja-zoom-control.c
@@ -723,32 +723,32 @@ caja_zoom_control_class_init (CajaZoomControlClass *class)
binding_set = gtk_binding_set_by_class (class);
gtk_binding_entry_add_signal (binding_set,
- GDK_KP_Subtract, 0,
+ GDK_KEY_KP_Subtract, 0,
"change_value",
1, GTK_TYPE_SCROLL_TYPE,
GTK_SCROLL_STEP_DOWN);
gtk_binding_entry_add_signal (binding_set,
- GDK_minus, 0,
+ GDK_KEY_minus, 0,
"change_value",
1, GTK_TYPE_SCROLL_TYPE,
GTK_SCROLL_STEP_DOWN);
gtk_binding_entry_add_signal (binding_set,
- GDK_KP_Equal, 0,
+ GDK_KEY_KP_Equal, 0,
"zoom_to_default",
0);
gtk_binding_entry_add_signal (binding_set,
- GDK_KP_Equal, 0,
+ GDK_KEY_KP_Equal, 0,
"zoom_to_default",
0);
gtk_binding_entry_add_signal (binding_set,
- GDK_KP_Add, 0,
+ GDK_KEY_KP_Add, 0,
"change_value",
1, GTK_TYPE_SCROLL_TYPE,
GTK_SCROLL_STEP_UP);
gtk_binding_entry_add_signal (binding_set,
- GDK_plus, 0,
+ GDK_KEY_plus, 0,
"change_value",
1, GTK_TYPE_SCROLL_TYPE,
GTK_SCROLL_STEP_UP);