aboutsummaryrefslogtreecommitdiff
path: root/src/datetime-prefs.c
diff options
context:
space:
mode:
authorMichael Terry <mike@mterry.name>2011-03-28 15:21:46 -0400
committerMichael Terry <mike@mterry.name>2011-03-28 15:21:46 -0400
commit3f00f0b2b0790d6d8429d6d6812fcb78dcad9d7b (patch)
tree940806dc8e87c0e2a4b04714243e7df2c0113e31 /src/datetime-prefs.c
parentb86cc25455f38c4162ecd1fe6add20373c789980 (diff)
downloadayatana-indicator-datetime-3f00f0b2b0790d6d8429d6d6812fcb78dcad9d7b.tar.gz
ayatana-indicator-datetime-3f00f0b2b0790d6d8429d6d6812fcb78dcad9d7b.tar.bz2
ayatana-indicator-datetime-3f00f0b2b0790d6d8429d6d6812fcb78dcad9d7b.zip
Don't allow enter presses to leave non-timezone content in the model
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 fbc88f2..dfb94fe 100644
--- a/src/datetime-prefs.c
+++ b/src/datetime-prefs.c
@@ -604,8 +604,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);