diff options
-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; |