aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar-component.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/calendar-component.c')
-rw-r--r--calendar/gui/calendar-component.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/calendar/gui/calendar-component.c b/calendar/gui/calendar-component.c
index 4f98cbab6b..5226c2480d 100644
--- a/calendar/gui/calendar-component.c
+++ b/calendar/gui/calendar-component.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