diff options
author | Milan Crha <mcrha@redhat.com> | 2009-09-30 02:10:35 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2009-09-30 02:10:35 +0800 |
commit | 0ed3ee1fa3b1f9f0735358fe66ba35f44e7c70ee (patch) | |
tree | 7037654f86303ba2a05498ffa7c8a741d8e94bf4 /modules/addressbook | |
parent | a0d0dd604b52dfa4d2a2f5378ee384292dfde5cd (diff) | |
download | gsoc2013-evolution-0ed3ee1fa3b1f9f0735358fe66ba35f44e7c70ee.tar.gz gsoc2013-evolution-0ed3ee1fa3b1f9f0735358fe66ba35f44e7c70ee.tar.zst gsoc2013-evolution-0ed3ee1fa3b1f9f0735358fe66ba35f44e7c70ee.zip |
Bug #596753 - Autocompletion addressbooks not remembered
And select page in Edit->Preferences based on the active view.
Diffstat (limited to 'modules/addressbook')
-rw-r--r-- | modules/addressbook/autocompletion-config.c | 3 | ||||
-rw-r--r-- | modules/addressbook/e-book-shell-backend.c | 1 |
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; |