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.gz
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 ();
ngs for the compizconfig librarylaszlof2007-09-075-0/+49 * The gconf backend for CompizConfig. It uses thelaszlof2007-09-076-0/+72 * Libcompizconfig is an alternative configuration system forlaszlof2007-09-076-0/+103 * - Update to 0.5.2.araujo2007-09-053-17/+16 * - Update to version 1.2.32.alepulver2007-09-054-18/+16 * Update to ion-3rc-20070902.philip2007-09-042-5/+4 * Add patches from git repository to fix the widget plugin.flz2007-08-296-2/+598 * - Update to 4.4.1miwi2007-08-282-4/+6 * - Update to 4.4rafan2007-08-263-11/+21 * Enable schemas.flz2007-08-242-2/+44 * Enable schemas.flz2007-08-244-4/+56 * - Update to 1.0.0miwi2007-08-232-5/+4 * - change maintainer address on ports I maintaintabthorpe2007-08-231-1/+1 * Add compiz-fusion-plugins-unsupported, the unsupported set of plugins forflz2007-08-239-1/+144 * Style fix.flz2007-08-232-4/+2 * Add compiz-fusion-plugins-extra, the extra set of plugins for Compiz fusion.flz2007-08-239-0/+263 * Add compiz-fusion-plugins-main, the main set of plugins for Compiz.flz2007-08-2311-0/+321 * Update x11-wm/compiz to 0.5.2.flz2007-08-223-11/+84 * - Update to 0.15.7itetcu2007-08-2110-119/+160 * - Update to 2.12miwi2007-08-203-18/+16 * - Add a new Feature -a select the actual windowmiwi2007-08-192-1/+64 * - Update to 1.2 [1]sat2007-08-163-19/+17 * Update to 3.4.4.novel2007-08-122-4/+4 * - Update to 2.0.1miwi2007-08-064-17/+29 * - Remove the DESTDIR modifications from individual ports as we have a new,gabor2007-08-041-4/+4 * - Update to 2007.07.20miwi2007-08-013-8/+8 * Fix build with gcc41arved2007-08-012-8/+11 * - share/pixmaps is listed in mtreepav2007-07-311-1/+0 * Update to 2.0.2.novel2007-07-313-5/+11 * Update to 3.4.3.novel2007-07-313-6/+9 * - Make Python 2.5.1 the default Python versionalexbl2007-07-301-0/+4 * Update the (unofficial, unsupported) Xinerama module to the latest version.philip2007-07-242-2/+7 * - Set --mandir and --infodir in CONFIGURE_ARGS if the configure scriptrafan2007-07-2311-12/+2 * Update to ion-3rc-20070720.philip2007-07-232-4/+4 * . Restore file mistakenly removed from the packing list in the lastglewis2007-07-222-0/+2 * - Remove distinfo hashes, which are not used officiallygabor2007-07-201-2/+0 * - Update to 4.3rafan2007-07-202-4/+4 * - Remove @prefix@ before directories in makefile which causes problemrafan2007-07-171-1/+6 * . Don't create bogus ${DATADIR}_old directory. The ports system ensuresglewis2007-07-122-1/+25 * . Update to 2.2.6.glewis2007-07-123-16/+103 * Update to ion-3rc-20070708.philip2007-07-092-5/+4 * Update to KDE 3.5.7 / KOffice 1.6.3lofi2007-07-042-4/+3 * Broken with new Openbox and the project doesn't seem to be active anymore,novel2007-07-011-0/+2 * Chase librep shared lib version bump.marcus2007-06-301-1/+1 * - Fix build with gcc4miwi2007-06-294-21/+42 * - Mark BROKEN: does not compile with recent Openboxpav2007-06-281-0/+2 * - Update to version 2.0.18 [1]lwhsu2007-06-204-471/+706 * add an optional patch which reverses the mouse workspace changingoliver2007-06-193-3/+23 * Update to 2.18.5.marcus2007-06-192-4/+4 * Fix build with gcc42.novel2007-06-171-0/+76 * BROKEN: Checksum mismatchkris2007-06-151-0/+2 * - Make dbus dependency optional, default onrafan2007-06-132-6/+18 * Unsupported plugins for beryl.miwi2007-06-126-0/+81 * Update to 2.0.1.novel2007-06-124-90/+32 * - Update to 3.4.2novel2007-06-126-146/+111 * Fix the build on !7.x. while here, also fix the pkg-plist.philip2007-06-113-5/+10 * Repocopied x11-wm/ion-3ds to x11-wm/ion-3 since there are now releasephilip2007-06-1010-322/+82 * Fix missing dependency (ergo, the build).danfe2007-06-091-0/+2 * Rather belatedly, but still:danfe2007-06-064-67/+20 * I'll step up and maintain this if Ed doesn't want it anymore.philip2007-06-052-2/+2 * - Improve PORTSCOUT limit to avoid false positives.alepulver2007-06-051-1/+1 * - Fix SIGSEGV in TaskBarShowAPMStatus code, as per tracker #1629022:alepulver2007-06-052-1/+12 * - Fix build with gcc4miwi2007-06-053-14/+29 * - Reset maintainermiwi2007-06-042-2/+2 * - Update to 4.2miwi2007-06-042-8/+4 * Clenup share/X11 directory upon deinstall.lesi2007-05-311-0/+1 * Fix build with gcc4arved2007-05-311-0/+11 * Fix build with gcc4arved2007-05-311-0/+19 * Update to 2.18.3.mezz2007-05-292-5/+4 * BROKEN with gcc 4.2kris2007-05-273-2/+18 * BROKEN with gcc 4.2kris2007-05-261-1/+7 * - Update to 4.1miwi2007-05-263-9/+9 * - update for gnustep-make-2.0.0dinoex2007-05-253-2/+3 * - Welcome X.org 7.2 \o/.flz2007-05-20