diff options
Diffstat (limited to 'shell/e-shell.c')
-rw-r--r-- | shell/e-shell.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/shell/e-shell.c b/shell/e-shell.c index 88a9f08a4f..abcd11819f 100644 --- a/shell/e-shell.c +++ b/shell/e-shell.c @@ -1106,15 +1106,6 @@ e_shell_construct (EShell *shell, CORBA_exception_free (&ev); - if (! show_splash) { - splash = NULL; - } else { - splash = e_splash_new (); - gtk_signal_connect (GTK_OBJECT (splash), "delete_event", - GTK_SIGNAL_FUNC (gtk_widget_hide_on_delete), NULL); - gtk_widget_show (splash); - } - /* Now we can register into OAF. Notice that we shouldn't be registering into OAF until we are sure we can complete. */ @@ -1125,6 +1116,15 @@ e_shell_construct (EShell *shell, return E_SHELL_CONSTRUCT_RESULT_CANNOTREGISTER; } + if (! show_splash) { + splash = NULL; + } else { + splash = e_splash_new (); + gtk_signal_connect (GTK_OBJECT (splash), "delete_event", + GTK_SIGNAL_FUNC (gtk_widget_hide_on_delete), NULL); + gtk_widget_show (splash); + } + while (gtk_events_pending ()) gtk_main_iteration (); |