aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-06-30 22:47:59 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-06-30 22:47:59 +0800
commit8dc6bbd250891bcef9130a789c9b74a01be7f1cb (patch)
treeabf0e8555b04f6748473ac8215e26fb7d6c44d35 /shell/e-shell.c
parent99126d46e61ce19a72acb3dd8498729b025339ec (diff)
downloadgsoc2013-evolution-8dc6bbd250891bcef9130a789c9b74a01be7f1cb.tar
gsoc2013-evolution-8dc6bbd250891bcef9130a789c9b74a01be7f1cb.tar.gz
gsoc2013-evolution-8dc6bbd250891bcef9130a789c9b74a01be7f1cb.tar.bz2
gsoc2013-evolution-8dc6bbd250891bcef9130a789c9b74a01be7f1cb.tar.lz
gsoc2013-evolution-8dc6bbd250891bcef9130a789c9b74a01be7f1cb.tar.xz
gsoc2013-evolution-8dc6bbd250891bcef9130a789c9b74a01be7f1cb.tar.zst
gsoc2013-evolution-8dc6bbd250891bcef9130a789c9b74a01be7f1cb.zip
Get the "startup-wizard" plugin working again.
Diffstat (limited to 'shell/e-shell.c')
-rw-r--r--shell/e-shell.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/shell/e-shell.c b/shell/e-shell.c
index 547432bc2d..c9e8d46317 100644
--- a/shell/e-shell.c
+++ b/shell/e-shell.c
@@ -525,6 +525,12 @@ shell_constructed (GObject *object)
shell_load_modules (E_SHELL (object));
shell_create_backends (E_SHELL (object));
+
+ /* e_shell_migrate_attempt() leads to code paths that rely on
+ * e_shell_get_default(), so set the default shell first. */
+ if (default_shell == NULL)
+ default_shell = g_object_ref (object);
+
e_shell_migrate_attempt (E_SHELL (object));
}