aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/e-shell.c3
-rw-r--r--shell/main.c5
2 files changed, 5 insertions, 3 deletions
diff --git a/shell/e-shell.c b/shell/e-shell.c
index 75b66555fc..d2a82675ae 100644
--- a/shell/e-shell.c
+++ b/shell/e-shell.c
@@ -30,7 +30,6 @@
#include "widgets/misc/e-preferences-window.h"
#include "e-shell-backend.h"
-#include "e-shell-migrate.h"
#include "e-shell-window.h"
#define E_SHELL_GET_PRIVATE(obj) \
@@ -598,8 +597,6 @@ shell_constructed (GObject *object)
shell_load_modules (E_SHELL (object));
shell_create_backends (E_SHELL (object));
-
- e_shell_migrate_attempt (E_SHELL (object));
}
static gboolean
diff --git a/shell/main.c b/shell/main.c
index 72333c17f7..eadb348d6b 100644
--- a/shell/main.c
+++ b/shell/main.c
@@ -45,6 +45,7 @@
#include "e-util/e-util.h"
#include "e-shell.h"
+#include "e-shell-migrate.h"
#include "es-event.h"
#include "e-util/e-util-private.h"
@@ -590,6 +591,10 @@ main (gint argc, gchar **argv)
e_plugin_load_plugins ();
}
+ /* Attempt migration -after- loading all modules and plugins,
+ * as both shell backends and certain plugins hook into this. */
+ e_shell_migrate_attempt (default_shell);
+
gtk_main ();
/* Drop what should be the last reference to the shell.