aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/component-factory.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/component-factory.c')
-rw-r--r--calendar/gui/component-factory.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/calendar/gui/component-factory.c b/calendar/gui/component-factory.c
index 4f98cbab6b..5226c2480d 100644
--- a/calendar/gui/component-factory.c
+++ b/calendar/gui/component-factory.c
@@ -32,6 +32,7 @@
#include "calendar-config.h"
#include "calendar-summary.h"
#include "tasks-control.h"
+#include "tasks-migrate.h"
@@ -107,9 +108,17 @@ owner_set_cb (EvolutionShellComponent *shell_component,
const char *evolution_homedir,
gpointer user_data)
{
+ static gboolean migrated = FALSE;
+
+ owner_count ++;
evolution_dir = g_strdup (evolution_homedir);
+
calendar_config_init ();
- owner_count ++;
+
+ if (!migrated) {
+ tasks_migrate ();
+ migrated = TRUE;
+ }
}
static void