aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/tasks-component.c
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2004-01-10 04:19:03 +0800
committerJP Rosevear <jpr@src.gnome.org>2004-01-10 04:19:03 +0800
commit183435c23ea48718fe8fe2a6e4f0f21e1f0dabbb (patch)
treeeb8a9aa865a60555438b1c8d874bcbb7432ef592 /calendar/gui/tasks-component.c
parentde2cc7ef906f026d6b274556f462e71f29439619 (diff)
downloadgsoc2013-evolution-183435c23ea48718fe8fe2a6e4f0f21e1f0dabbb.tar
gsoc2013-evolution-183435c23ea48718fe8fe2a6e4f0f21e1f0dabbb.tar.gz
gsoc2013-evolution-183435c23ea48718fe8fe2a6e4f0f21e1f0dabbb.tar.bz2
gsoc2013-evolution-183435c23ea48718fe8fe2a6e4f0f21e1f0dabbb.tar.lz
gsoc2013-evolution-183435c23ea48718fe8fe2a6e4f0f21e1f0dabbb.tar.xz
gsoc2013-evolution-183435c23ea48718fe8fe2a6e4f0f21e1f0dabbb.tar.zst
gsoc2013-evolution-183435c23ea48718fe8fe2a6e4f0f21e1f0dabbb.zip
make sure we sync the source list when appropriate
2004-01-09 JP Rosevear <jpr@ximian.com> * gui/calendar-component.c (impl_upgradeFromVersion): make sure we sync the source list when appropriate * gui/tasks-component.c (impl_upgradeFromVersion): ditto svn path=/trunk/; revision=24137
Diffstat (limited to 'calendar/gui/tasks-component.c')
-rw-r--r--calendar/gui/tasks-component.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/calendar/gui/tasks-component.c b/calendar/gui/tasks-component.c
index fcd57d7fe2..dfb668ac7f 100644
--- a/calendar/gui/tasks-component.c
+++ b/calendar/gui/tasks-component.c
@@ -518,6 +518,7 @@ impl_upgradeFromVersion (PortableServer_Servant servant,
/* create the source group */
group = e_source_group_new (_("On This Computer"), base_uri);
e_source_list_add_group (priv->source_list, group, -1);
+ e_source_list_sync (priv->source_list, NULL);
}
if (major == 1 && minor <= 4) {
@@ -534,6 +535,8 @@ impl_upgradeFromVersion (PortableServer_Servant servant,
g_free (new_dir);
}
+
+ e_source_list_sync (priv->source_list, NULL);
}
g_free (base_uri);