diff options
author | Jasmine Hassan <[email protected]> | 2012-11-05 23:14:35 +0200 |
---|---|---|
committer | Jasmine Hassan <[email protected]> | 2012-11-16 09:45:50 +0200 |
commit | b24f066e23fb5b204c940c229c5cdebffd2f7600 (patch) | |
tree | 405f3aba07a9951344e35e7dbd4a19e3bd76ec79 /src/caja-bookmarks-window.c | |
parent | 360d966dfa2a9ebe579e77d4f59a1e3b37ead28c (diff) | |
download | caja-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-bookmarks-window.c')
-rw-r--r-- | src/caja-bookmarks-window.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/caja-bookmarks-window.c b/src/caja-bookmarks-window.c index aaf0aee1..86c80bc5 100644 --- a/src/caja-bookmarks-window.c +++ b/src/caja-bookmarks-window.c @@ -749,7 +749,7 @@ on_key_pressed (GtkTreeView *view, GdkEventKey *event, gpointer user_data) { - if (event->keyval == GDK_Delete || event->keyval == GDK_KP_Delete) + if (event->keyval == GDK_KEY_Delete || event->keyval == GDK_KEY_KP_Delete) { bookmarks_delete_bookmark (); return TRUE; @@ -1082,7 +1082,7 @@ handle_close_accelerator (GtkWindow *window, g_assert (event != NULL); g_assert (user_data == NULL); - if (event->state & GDK_CONTROL_MASK && event->keyval == GDK_w) { + if (event->state & GDK_CONTROL_MASK && event->keyval == GDK_KEY_w) { gtk_widget_hide (GTK_WIDGET (window)); return TRUE; } |