r16091 - gnucash/trunk/src/bin - Do not remove files from history list on startup, #388500.

Andreas Köhler andi5 at cvs.gnucash.org
Thu May 17 09:28:44 EDT 2007


Author: andi5
Date: 2007-05-17 09:28:43 -0400 (Thu, 17 May 2007)
New Revision: 16091
Trac: http://svn.gnucash.org/trac/changeset/16091

Modified:
   gnucash/trunk/src/bin/gnucash-bin.c
Log:
Do not remove files from history list on startup, #388500.

It is not clear yet, when and how it is best to remove inaccessible
files from the history list.  At least we should not do it on startup.


Modified: gnucash/trunk/src/bin/gnucash-bin.c
===================================================================
--- gnucash/trunk/src/bin/gnucash-bin.c	2007-05-16 03:38:06 UTC (rev 16090)
+++ gnucash/trunk/src/bin/gnucash-bin.c	2007-05-17 13:28:43 UTC (rev 16091)
@@ -471,8 +471,7 @@
     if (!nofile && (fn = get_file_to_load())) {
         gnc_update_splash_screen(_("Loading data..."));
         gnc_destroy_splash_screen();
-        if (!gnc_file_open_file(fn))
-            gnc_history_remove_file(fn);
+        gnc_file_open_file(fn);
         g_free(fn);
     } 
     else if (gnc_gconf_get_bool("dialogs/new_user", "first_startup", &error)



More information about the gnucash-changes mailing list