aboutsummaryrefslogtreecommitdiffstats
path: root/modules/addressbook/autocompletion-config.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/addressbook/autocompletion-config.c')
-rw-r--r--modules/addressbook/autocompletion-config.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/addressbook/autocompletion-config.c b/modules/addressbook/autocompletion-config.c
index 7afc18d382..6b51427be1 100644
--- a/modules/addressbook/autocompletion-config.c
+++ b/modules/addressbook/autocompletion-config.c
@@ -178,6 +178,7 @@ autocompletion_config_new (EShell *shell)
gtk_widget_show (scrolled_window);
source_selector = e_source_selector_new (source_list);
+ initialize_selection (E_SOURCE_SELECTOR (source_selector));
g_signal_connect (
source_selector, "selection_changed",
G_CALLBACK (source_selection_changed_cb), NULL);
@@ -186,7 +187,5 @@ autocompletion_config_new (EShell *shell)
gtk_box_pack_start (GTK_BOX (itembox), scrolled_window, TRUE, TRUE, 0);
- initialize_selection (E_SOURCE_SELECTOR (source_selector));
-
return vbox;
}