aboutsummaryrefslogtreecommitdiffstats
path: root/modules/calendar/e-cal-shell-backend.c
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchenthill@novell.com>2010-05-20 15:41:04 +0800
committerChenthill Palanisamy <pchenthill@novell.com>2010-05-20 15:42:04 +0800
commit428f26b128cf34f30e053584b07d29b1b44b0a36 (patch)
tree3ffad6b97435c44f4007afa0bc7549ad4004d325 /modules/calendar/e-cal-shell-backend.c
parentc8b4228f3d2db7f0bd866f16ed48b800256d3187 (diff)
downloadgsoc2013-evolution-428f26b128cf34f30e053584b07d29b1b44b0a36.tar
gsoc2013-evolution-428f26b128cf34f30e053584b07d29b1b44b0a36.tar.gz
gsoc2013-evolution-428f26b128cf34f30e053584b07d29b1b44b0a36.tar.bz2
gsoc2013-evolution-428f26b128cf34f30e053584b07d29b1b44b0a36.tar.lz
gsoc2013-evolution-428f26b128cf34f30e053584b07d29b1b44b0a36.tar.xz
gsoc2013-evolution-428f26b128cf34f30e053584b07d29b1b44b0a36.tar.zst
gsoc2013-evolution-428f26b128cf34f30e053584b07d29b1b44b0a36.zip
Create the source groups required to ensure local adresssbooks and calendars are created
Diffstat (limited to 'modules/calendar/e-cal-shell-backend.c')
-rw-r--r--modules/calendar/e-cal-shell-backend.c7
1 files changed, 7 insertions, 0 deletions
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");