aboutsummaryrefslogtreecommitdiff
path: root/src/timezone-completion.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-06-21 13:29:08 -0500
committerTed Gould <ted@gould.cx>2011-06-21 13:29:08 -0500
commit4102a7b9cd77973b8f01c8425d8570b632a93cf0 (patch)
tree5dda9b9d7f68c22776a812726adc36b697298a6a /src/timezone-completion.c
parent7b878caf9f39ee8d8a799f6454e079e35fe2a962 (diff)
parent7f2f5fbb5d6df00f9697bd604b437bbd250cf528 (diff)
downloadayatana-indicator-datetime-4102a7b9cd77973b8f01c8425d8570b632a93cf0.tar.gz
ayatana-indicator-datetime-4102a7b9cd77973b8f01c8425d8570b632a93cf0.tar.bz2
ayatana-indicator-datetime-4102a7b9cd77973b8f01c8425d8570b632a93cf0.zip
GTK 3 Support
Diffstat (limited to 'src/timezone-completion.c')
-rw-r--r--src/timezone-completion.c6
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);