From 428f26b128cf34f30e053584b07d29b1b44b0a36 Mon Sep 17 00:00:00 2001 From: Chenthill Palanisamy Date: Thu, 20 May 2010 13:11:04 +0530 Subject: Create the source groups required to ensure local adresssbooks and calendars are created --- modules/calendar/e-cal-shell-backend.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'modules/calendar') diff --git a/modules/calendar/e-cal-shell-backend.c b/modules/calendar/e-cal-shell-backend.c index 20ab7cf844..d97ad6fde0 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"); -- cgit v1.2.3