aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/addressbook-migrate.c
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/gui/component/addressbook-migrate.c')
-rw-r--r--addressbook/gui/component/addressbook-migrate.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/addressbook/gui/component/addressbook-migrate.c b/addressbook/gui/component/addressbook-migrate.c
index 4076e04de0..1878b6504b 100644
--- a/addressbook/gui/component/addressbook-migrate.c
+++ b/addressbook/gui/component/addressbook-migrate.c
@@ -745,9 +745,6 @@ migration_context_new (AddressbookComponent *component)
context->source_list = addressbook_component_peek_source_list (component);
- /* initialize our dialog */
- setup_progress_dialog (context);
-
context->component = component;
return context;
@@ -786,6 +783,8 @@ addressbook_migrate (AddressbookComponent *component, int major, int minor, int
||
/* we're 0.x */
(major == 0)) {
+ /* initialize our dialog */
+ setup_progress_dialog (context);
if (on_this_computer) {
migrate_local_folders (context, on_this_computer, personal_source);