diff options
author | Jasmine Hassan <[email protected]> | 2012-10-27 09:45:11 +0200 |
---|---|---|
committer | Jasmine Hassan <[email protected]> | 2012-11-16 09:45:49 +0200 |
commit | a8ffe6f91bb6d67410fe886ef90deef1d5639aa9 (patch) | |
tree | 9bd605ceaa3b902a2523fd489ed3b3d6871bb62e /src/caja-bookmarks-window.c | |
parent | 5d8273c1bc7e355e4f032bdc9d40363e01c689b6 (diff) | |
download | caja-a8ffe6f91bb6d67410fe886ef90deef1d5639aa9.tar.bz2 caja-a8ffe6f91bb6d67410fe886ef90deef1d5639aa9.tar.xz |
[bkmrks-win/prop-brwsr] don't use eel_gtk_window_*_close_accelerator()
bk-window: don't use _event_is_close_accelerator()
http://git.gnome.org/browse/nautilus/commit/?id=cab696f7d760f5ee63f0a623b13d27b76d2f2d00
Also needed to drop eel_gtk_window_set_up_close_accelerator() instance
in src/caja-property-browser.c
Diffstat (limited to 'src/caja-bookmarks-window.c')
-rw-r--r-- | src/caja-bookmarks-window.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/caja-bookmarks-window.c b/src/caja-bookmarks-window.c index 49f66850..aaf0aee1 100644 --- a/src/caja-bookmarks-window.c +++ b/src/caja-bookmarks-window.c @@ -1082,8 +1082,7 @@ handle_close_accelerator (GtkWindow *window, g_assert (event != NULL); g_assert (user_data == NULL); - if (eel_gtk_window_event_is_close_accelerator (window, event)) - { + if (event->state & GDK_CONTROL_MASK && event->keyval == GDK_w) { gtk_widget_hide (GTK_WIDGET (window)); return TRUE; } |