aboutsummaryrefslogtreecommitdiffstats
path: root/shell/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/main.c')
-rw-r--r--shell/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/main.c b/shell/main.c
index 38384d879a..465fe7daa4 100644
--- a/shell/main.c
+++ b/shell/main.c
@@ -445,8 +445,6 @@ create_default_shell (void)
g_object_unref (client);
- g_idle_add ((GSourceFunc) idle_cb, remaining_args);
-
return shell;
}
@@ -606,6 +604,8 @@ main (gint argc, gchar **argv)
* as both shell backends and certain plugins hook into this. */
e_shell_migrate_attempt (shell);
+ g_idle_add ((GSourceFunc) idle_cb, remaining_args);
+
gtk_main ();
/* Drop what should be the last reference to the shell.