aboutsummaryrefslogtreecommitdiff
path: root/src/datetime-prefs.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-03-29 14:28:49 -0500
committerTed Gould <ted@gould.cx>2011-03-29 14:28:49 -0500
commit9f61fa02077c8a0ec1f0477a3b284d828d7bbff8 (patch)
tree40c3f5786909d230cee559547ea30fd6d582f69c /src/datetime-prefs.c
parent20bbf39bdad31e943d0a292bdf4d73bed6d65928 (diff)
parent3f00f0b2b0790d6d8429d6d6812fcb78dcad9d7b (diff)
downloadayatana-indicator-datetime-9f61fa02077c8a0ec1f0477a3b284d828d7bbff8.tar.gz
ayatana-indicator-datetime-9f61fa02077c8a0ec1f0477a3b284d828d7bbff8.tar.bz2
ayatana-indicator-datetime-9f61fa02077c8a0ec1f0477a3b284d828d7bbff8.zip
Handle enter on the default case by selecting the first entry instead of entering a blank item.
Diffstat (limited to 'src/datetime-prefs.c')
-rw-r--r--src/datetime-prefs.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/datetime-prefs.c b/src/datetime-prefs.c
index 5a6fd91..4213ea9 100644
--- a/src/datetime-prefs.c
+++ b/src/datetime-prefs.c
@@ -620,8 +620,6 @@ create_dialog (void)
/* And completion entry */
TimezoneCompletion * completion = timezone_completion_new ();
- gtk_entry_set_completion (GTK_ENTRY (WIG ("timezoneEntry")),
- GTK_ENTRY_COMPLETION (completion));
timezone_completion_watch_entry (completion, GTK_ENTRY (WIG ("timezoneEntry")));
g_signal_connect (completion, "match-selected", G_CALLBACK (timezone_selected), NULL);