diff options
author | Ted Gould <ted@gould.cx> | 2011-06-21 14:13:00 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2011-06-21 14:13:00 -0500 |
commit | 7cb01301fdb2e2889d8ab8c09275c25d9dd28f01 (patch) | |
tree | b0ed1a19c9aebc5506b58d280980ed80a519fd7a /src/timezone-completion.c | |
parent | c187878ad6dd3a5f1406de00880580479601476c (diff) | |
parent | 3c5f6a06ff0e44945f788254c44ede18f4061724 (diff) | |
download | ayatana-indicator-datetime-7cb01301fdb2e2889d8ab8c09275c25d9dd28f01.tar.gz ayatana-indicator-datetime-7cb01301fdb2e2889d8ab8c09275c25d9dd28f01.tar.bz2 ayatana-indicator-datetime-7cb01301fdb2e2889d8ab8c09275c25d9dd28f01.zip |
Import upstream version 0.2.90
Diffstat (limited to 'src/timezone-completion.c')
-rw-r--r-- | src/timezone-completion.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/timezone-completion.c b/src/timezone-completion.c index 7dcc28e..6ba1e88 100644 --- a/src/timezone-completion.c +++ b/src/timezone-completion.c @@ -455,9 +455,9 @@ find_popup_treeview (GtkWidget * widget, GtkTreeModel * model) static gboolean entry_keypress (GtkEntry * entry, GdkEventKey *event, TimezoneCompletion * completion) { - if (event->keyval == GDK_ISO_Enter || - event->keyval == GDK_KP_Enter || - event->keyval == GDK_Return) { + if (event->keyval == GDK_KEY_ISO_Enter || + event->keyval == GDK_KEY_KP_Enter || + event->keyval == GDK_KEY_Return) { /* Make sure that user has a selection to choose, otherwise ignore */ GtkTreeModel * model = gtk_entry_completion_get_model (GTK_ENTRY_COMPLETION (completion)); GtkTreeView * view = find_popup_treeview (GTK_WIDGET (entry), model); |