diff options
author | Chenthill Palanisamy <pchenthill@novell.com> | 2010-05-20 15:41:04 +0800 |
---|---|---|
committer | Chenthill Palanisamy <pchenthill@novell.com> | 2010-05-20 15:50:27 +0800 |
commit | 105543c804f91cd269f023fe36f2e9cc3f108760 (patch) | |
tree | eb483ec70da34a8c41c06fc9e60ac23831e977ab | |
parent | be538a4cff38c7b58468e7b2c7fa05f9dc8cb476 (diff) | |
download | gsoc2013-evolution-105543c804f91cd269f023fe36f2e9cc3f108760.tar.gz gsoc2013-evolution-105543c804f91cd269f023fe36f2e9cc3f108760.tar.zst gsoc2013-evolution-105543c804f91cd269f023fe36f2e9cc3f108760.zip |
Create the source groups required to ensure local adresssbooks and calendars are created
-rw-r--r-- | modules/addressbook/e-book-shell-backend.c | 1 | ||||
-rw-r--r-- | modules/calendar/e-cal-shell-backend.c | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/modules/addressbook/e-book-shell-backend.c b/modules/addressbook/e-book-shell-backend.c index 1166cd61c3..74dbbfcf7f 100644 --- a/modules/addressbook/e-book-shell-backend.c +++ b/modules/addressbook/e-book-shell-backend.c @@ -169,6 +169,7 @@ book_shell_backend_ensure_sources (EShellBackend *shell_backend) source_group = e_source_group_new (name, base_uri); e_source_list_add_group (priv->source_list, source_group, -1); + on_this_computer = source_group; g_object_unref (source_group); } diff --git a/modules/calendar/e-cal-shell-backend.c b/modules/calendar/e-cal-shell-backend.c index 30bad0a4bf..5e6f390189 100644 --- a/modules/calendar/e-cal-shell-backend.c +++ b/modules/calendar/e-cal-shell-backend.c @@ -166,6 +166,13 @@ cal_shell_backend_ensure_sources (EShellBackend *shell_backend) * Open ... because of invalid URI" error. */ save_list = TRUE; } + } else { + ESourceGroup *source_group; + + source_group = e_source_group_new (name, base_uri); + e_source_list_add_group (priv->source_list, source_group, -1); + on_this_computer = source_group; + g_object_unref (source_group); } name = _("Personal"); |