[nautilus] bk-window: don't use _event_is_close_accelerator()
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] bk-window: don't use _event_is_close_accelerator()
- Date: Sat, 21 Aug 2010 16:31:23 +0000 (UTC)
commit cab696f7d760f5ee63f0a623b13d27b76d2f2d00
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Sat Aug 21 17:20:25 2010 +0200
bk-window: don't use _event_is_close_accelerator()
src/nautilus-bookmarks-window.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/nautilus-bookmarks-window.c b/src/nautilus-bookmarks-window.c
index e5dc845..14b797c 100644
--- a/src/nautilus-bookmarks-window.c
+++ b/src/nautilus-bookmarks-window.c
@@ -1053,7 +1053,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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]