r15505 - gnucash/branches/2.0 - Bug#372262: create the session with the file-creation option enabled.

Derek Atkins warlord at cvs.gnucash.org
Sun Feb 4 16:47:23 EST 2007


Author: warlord
Date: 2007-02-04 16:47:22 -0500 (Sun, 04 Feb 2007)
New Revision: 15505
Trac: http://svn.gnucash.org/trac/changeset/15505

Modified:
   gnucash/branches/2.0/
   gnucash/branches/2.0/ChangeLog
   gnucash/branches/2.0/src/gnome-utils/gnc-file.c
Log:
Bug#372262: create the session with the file-creation option enabled.

Merge from r15496



Property changes on: gnucash/branches/2.0
___________________________________________________________________
Name: svk:merge
   - 3889ce50-311e-0410-a464-f059747ec5d1:/local/gnucash/branches/2.0:697
d2ab10a8-8a95-4986-baff-8d511d9f15b2:/local/gnucash/branches/2.0:14052
d2ab10a8-8a95-4986-baff-8d511d9f15b2:/local/gnucash/trunk:13282
   + 3889ce50-311e-0410-a464-f059747ec5d1:/local/gnucash/branches/2.0:697
d2ab10a8-8a95-4986-baff-8d511d9f15b2:/local/gnucash/branches/2.0:14053
d2ab10a8-8a95-4986-baff-8d511d9f15b2:/local/gnucash/trunk:13282

Modified: gnucash/branches/2.0/ChangeLog
===================================================================
--- gnucash/branches/2.0/ChangeLog	2007-02-04 21:47:03 UTC (rev 15504)
+++ gnucash/branches/2.0/ChangeLog	2007-02-04 21:47:22 UTC (rev 15505)
@@ -1,3 +1,7 @@
+2007-02-04  Joshua Sled  <jsled at asynchronous.org>
+
+	Bug#372262: create the session with the file-creation option enabled.
+
 2007-02-04  Andreas Köhler  <andi5.py at gmx.net>
 
 	Do not crash on delete_event in new user dialog. Fix #401484.

Modified: gnucash/branches/2.0/src/gnome-utils/gnc-file.c
===================================================================
--- gnucash/branches/2.0/src/gnome-utils/gnc-file.c	2007-02-04 21:47:03 UTC (rev 15504)
+++ gnucash/branches/2.0/src/gnome-utils/gnc-file.c	2007-02-04 21:47:22 UTC (rev 15505)
@@ -900,7 +900,7 @@
   /* -- this session code is NOT identical in FileOpen and FileSaveAs -- */
 
   new_session = qof_session_new ();
-  qof_session_begin (new_session, newfile, FALSE, FALSE);
+  qof_session_begin (new_session, newfile, FALSE, TRUE);
 
   io_err = qof_session_get_error (new_session);
 



More information about the gnucash-changes mailing list