diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-06-30 22:47:59 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-06-30 22:47:59 +0800 |
commit | 8dc6bbd250891bcef9130a789c9b74a01be7f1cb (patch) | |
tree | abf0e8555b04f6748473ac8215e26fb7d6c44d35 /shell/e-shell.c | |
parent | 99126d46e61ce19a72acb3dd8498729b025339ec (diff) | |
download | gsoc2013-evolution-8dc6bbd250891bcef9130a789c9b74a01be7f1cb.tar.gz 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.c | 6 |
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)); } |