diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2012-09-20 12:11:22 +0000 |
---|---|---|
committer | Tarmac <Unknown> | 2012-09-20 12:11:22 +0000 |
commit | b98fedd461b745fb2ed694f540017afd41824756 (patch) | |
tree | 93041e286cf840ecca130fe5e513c5bb7cf8b47e | |
parent | 63717ffcbab6c083f8e8fc782753735701fbae26 (diff) | |
parent | 20fe9d4cbf2543f4b79ee64ca63ff44fbd01ae3e (diff) | |
download | ayatana-ido-b98fedd461b745fb2ed694f540017afd41824756.tar.gz ayatana-ido-b98fedd461b745fb2ed694f540017afd41824756.tar.bz2 ayatana-ido-b98fedd461b745fb2ed694f540017afd41824756.zip |
the calendar widget shouldn't eat the ESC key.. Fixes: https://bugs.launchpad.net/bugs/964005. Approved by Lars Uebernickel, jenkins.
-rw-r--r-- | src/idocalendarmenuitem.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/idocalendarmenuitem.c b/src/idocalendarmenuitem.c index 84bee80..baae342 100644 --- a/src/idocalendarmenuitem.c +++ b/src/idocalendarmenuitem.c @@ -172,7 +172,8 @@ ido_calendar_menu_item_key_press (GtkWidget *widget, gtk_widget_grab_focus (calendar); } - return event->keyval != GDK_KEY_Return; + return (event->keyval != GDK_KEY_Return) && + (event->keyval != GDK_KEY_Escape); } return FALSE; |