r16476 - gnucash/trunk/src/gnome-utils - Bug#467521: disappear the splash if we're about to put up the modal problem-opening-file dialog.

Josh Sled jsled at cvs.gnucash.org
Mon Aug 27 19:22:17 EDT 2007


Author: jsled
Date: 2007-08-27 19:22:16 -0400 (Mon, 27 Aug 2007)
New Revision: 16476
Trac: http://svn.gnucash.org/trac/changeset/16476

Modified:
   gnucash/trunk/src/gnome-utils/gnc-file.c
Log:
Bug#467521: disappear the splash if we're about to put up the modal problem-opening-file dialog.


Modified: gnucash/trunk/src/gnome-utils/gnc-file.c
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-file.c	2007-08-27 23:15:14 UTC (rev 16475)
+++ gnucash/trunk/src/gnome-utils/gnc-file.c	2007-08-27 23:22:16 UTC (rev 16476)
@@ -666,7 +666,12 @@
                    "What would you like to do?")
                  );
     int rc;
-
+    
+    // Bug#467521: on Mac (and maybe Win?), the dialog will appear below the
+    // splash, but is modal, so we can't get rid of the splash...  So, get
+    // rid of it now.
+    gnc_destroy_splash_screen();
+    
     dialog = gtk_message_dialog_new(NULL,
 				    0,
 				    GTK_MESSAGE_WARNING,



More information about the gnucash-changes mailing list