aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-12-15 02:51:06 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-12-15 02:51:06 +0800
commit5b050b30a9c6a21636f541532c38ca4594ceff19 (patch)
treead3a64cf60694f2895d85f32744f7ae8416ed147
parentbad0d146822c285a1120c07cfb067706b73eff18 (diff)
downloadgsoc2013-evolution-5b050b30a9c6a21636f541532c38ca4594ceff19.tar
gsoc2013-evolution-5b050b30a9c6a21636f541532c38ca4594ceff19.tar.gz
gsoc2013-evolution-5b050b30a9c6a21636f541532c38ca4594ceff19.tar.bz2
gsoc2013-evolution-5b050b30a9c6a21636f541532c38ca4594ceff19.tar.lz
gsoc2013-evolution-5b050b30a9c6a21636f541532c38ca4594ceff19.tar.xz
gsoc2013-evolution-5b050b30a9c6a21636f541532c38ca4594ceff19.tar.zst
gsoc2013-evolution-5b050b30a9c6a21636f541532c38ca4594ceff19.zip
[Fix #17258, shell displays splash even if Evolution is already
running.] * e-shell.c (e_shell_construct): Display the splash screen only if the registration succeeds. svn path=/trunk/; revision=15078
-rw-r--r--shell/ChangeLog8
-rw-r--r--shell/e-shell.c18
2 files changed, 17 insertions, 9 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 2c98894337..482f7e111f 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,11 @@
+2001-12-14 Ettore Perazzoli <ettore@ximian.com>
+
+ [Fix #17258, shell displays splash even if Evolution is already
+ running.]
+
+ * e-shell.c (e_shell_construct): Display the splash screen only if
+ the registration succeeds.
+
2001-12-12 Ettore Perazzoli <ettore@ximian.com>
[Fix #14838, saving passwords doesn't work. It is actually a
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 ();