aboutsummaryrefslogtreecommitdiffstats
path: root/modules/addressbook
diff options
context:
space:
mode:
Diffstat (limited to 'modules/addressbook')
-rw-r--r--modules/addressbook/autocompletion-config.c3
-rw-r--r--modules/addressbook/e-book-shell-backend.c1
2 files changed, 2 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;
}
diff --git a/modules/addressbook/e-book-shell-backend.c b/modules/addressbook/e-book-shell-backend.c
index 06cd43aca4..11ff1e3553 100644
--- a/modules/addressbook/e-book-shell-backend.c
+++ b/modules/addressbook/e-book-shell-backend.c
@@ -584,6 +584,7 @@ book_shell_backend_class_init (EBookShellBackendClass *class)
shell_backend_class->aliases = "contacts";
shell_backend_class->schemes = "";
shell_backend_class->sort_order = 300;
+ shell_backend_class->preferences_page = "contacts";
shell_backend_class->start = NULL;
shell_backend_class->migrate = e_book_shell_backend_migrate;