r19781 - gnucash/trunk/src/gnome-utils - Bug #634252: Re-enable the splash screen if the user selects open anyway

Christian Stimming cstim at code.gnucash.org
Mon Nov 8 14:45:43 EST 2010


Author: cstim
Date: 2010-11-08 14:45:43 -0500 (Mon, 08 Nov 2010)
New Revision: 19781
Trac: http://svn.gnucash.org/trac/changeset/19781

Modified:
   gnucash/trunk/src/gnome-utils/gnc-file.c
Log:
Bug #634252: Re-enable the splash screen if the user selects open anyway

If during startup a file or database turns out to beeing locked the user is
presented a dialog with the options to open anyway, create a new file or abort.
This dialog, however, closes the splash screen. This may cause confusion,
because file loading and report generation may still take quite some time.

Patch by Herbert Thoma.

Modified: gnucash/trunk/src/gnome-utils/gnc-file.c
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-file.c	2010-11-08 19:40:23 UTC (rev 19780)
+++ gnucash/trunk/src/gnome-utils/gnc-file.c	2010-11-08 19:45:43 UTC (rev 19781)
@@ -704,6 +704,9 @@
         }
         else if (rc == RESPONSE_OPEN)
         {
+            // re-enable the splash screen, file loading and display of
+            // reports may take some time
+            gnc_show_splash_screen();
             /* user told us to ignore locks. So ignore them. */
             qof_session_begin (new_session, newfile, TRUE, FALSE);
         }



More information about the gnucash-changes mailing list