r19813 - gnucash/trunk/src/gnome-utils - Fix misplaced comment in gnome-utls/gnome-file.c from 19798
John Ralls
jralls at code.gnucash.org
Mon Nov 15 14:29:18 EST 2010
Author: jralls
Date: 2010-11-15 14:29:18 -0500 (Mon, 15 Nov 2010)
New Revision: 19813
Trac: http://svn.gnucash.org/trac/changeset/19813
Modified:
gnucash/trunk/src/gnome-utils/gnc-file.c
Log:
Fix misplaced comment in gnome-utls/gnome-file.c from 19798
Modified: gnucash/trunk/src/gnome-utils/gnc-file.c
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-file.c 2010-11-15 19:10:19 UTC (rev 19812)
+++ gnucash/trunk/src/gnome-utils/gnc-file.c 2010-11-15 19:29:18 UTC (rev 19813)
@@ -1240,7 +1240,6 @@
io_err = qof_session_get_error (new_session);
- /* if file appears to be locked, ask the user ... */
/* If the file exists and would be clobbered, ask the user */
if (ERR_BACKEND_STORE_EXISTS == io_err) {
const char *format = _("The file %s already exists. "
@@ -1264,6 +1263,7 @@
}
qof_session_begin (new_session, newfile, FALSE, TRUE, TRUE);
}
+ /* if file appears to be locked, ask the user ... */
else if (ERR_BACKEND_LOCKED == io_err || ERR_BACKEND_READONLY == io_err)
{
if (FALSE == show_session_error (io_err, newfile, GNC_FILE_DIALOG_SAVE))
More information about the gnucash-changes
mailing list