aboutsummaryrefslogtreecommitdiff
path: root/src/datetime-prefs-locations.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-locations.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-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 5dd13e8..6addac3 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"));