aboutsummaryrefslogtreecommitdiff
path: root/src/datetime-prefs-locations.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-locations.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-locations.c')
-rw-r--r--src/datetime-prefs-locations.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/datetime-prefs-locations.c b/src/datetime-prefs-locations.c
index d13f95a..9d0a97a 100644
--- a/src/datetime-prefs-locations.c
+++ b/src/datetime-prefs-locations.c
@@ -144,7 +144,6 @@ handle_edit_started (GtkCellRendererText * renderer, GtkCellEditable * editable,
{
if (GTK_IS_ENTRY (editable)) {
GtkEntry *entry = GTK_ENTRY (editable);
- gtk_entry_set_completion (entry, GTK_ENTRY_COMPLETION (completion));
timezone_completion_watch_entry (completion, entry);
GtkListStore * store = GTK_LIST_STORE (g_object_get_data (G_OBJECT (completion), "store"));