From d8e7c566d2eec5b7a2d313aa1a2fb5f1df6bd97b Mon Sep 17 00:00:00 2001 From: Linas Vepstas Date: Sat, 9 Jun 2001 04:11:28 +0000 Subject: [PATCH] error message cleanup git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4554 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/engine/Transaction.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/engine/Transaction.c b/src/engine/Transaction.c index a778aac309..f7f3e81c52 100644 --- a/src/engine/Transaction.c +++ b/src/engine/Transaction.c @@ -1456,14 +1456,16 @@ xaccTransCommitEdit (Transaction *trans) /* if the backend puked, then we must roll-back * at this point, and let the user know that we failed. */ - /* XXX hack alert -- finish this */ - PWARN("Another user has modified the transaction\n" - "\tPlease refresh your browser and try again.\n" + /* XXX hack alert -- turn this into a gui dialog */ + PWARN("Another user has modified this transaction\n" + "\tjust a moment ago. Please look at thier changes,\n" + "\t and try again, if needed.\n" "\t(This dialog should be a gui dialog and \n" "\tshould check for errors)\n" "\t rc=%d\n", rc); /* hack alert -- we should check for i/o errors from - * the backend too ... + * the backend too ... since an i/o error is not a true + * rollback. what to do ... */ trans->editlevel++; xaccTransRollbackEdit (trans);