[Gnucash-changes] gnucash
Joshua Sled
jsled at cvs.gnucash.org
Sat Mar 13 19:25:46 EST 2004
Update of /home/cvs/cvsroot/gnucash
In directory cvs.gnucash.org:/tmp/cvs-serv25732
Modified Files:
ChangeLog
Log Message:
2004-03-13 Joshua Sled <jsled at asynchronous.org>
* src/gnome/dialog-scheduledxaction.c (gnc_sxed_check_consistent):
Bug#133709 fix: when we have a problem parsing a credit/debit
cell, indicate to the user what occurred.
Update of /home/cvs/cvsroot/gnucash/src/gnome
In directory cvs.gnucash.org:/tmp/cvs-serv25732/src/gnome
Modified Files:
dialog-scheduledxaction.c
Log Message:
2004-03-13 Joshua Sled <jsled at asynchronous.org>
* src/gnome/dialog-scheduledxaction.c (gnc_sxed_check_consistent):
Bug#133709 fix: when we have a problem parsing a credit/debit
cell, indicate to the user what occurred.
==================================================
Differences for ChangeLog (revision 1.1789 -> 1.1790)
==================================================
--- /home/cvs/cvsroot/gnucash/ChangeLog 2004/03/11 01:17:13 1.1789
+++ /home/cvs/cvsroot/gnucash/ChangeLog 2004/03/14 00:25:45 1.1790
@@ -1,3 +1,9 @@
+2004-03-13 Joshua Sled <jsled at asynchronous.org>
+
+ * src/gnome/dialog-scheduledxaction.c (gnc_sxed_check_consistent):
+ Bug#133709 fix: when we have a problem parsing a credit/debit
+ cell, indicate to the user what occurred.
+
2004-03-08 Christian Stimming <stimming at tuhh.de>
* src/import-export/hbci/dialog-hbcitrans.c, dialog-hbcitrans.h,
@@ -45,7 +51,7 @@
* src/gnome/dialog-sxsincelast.c (create_each_transaction_helper):
Better handling of various error cases in
- transaction-creation. Bug#120311; Bug#130330.
+ transaction-creation. Bug#102311; Bug#130330.
2004-03-03 Derek Atkins <derek at ihtfp.com>
==================================================
Differences for dialog-scheduledxaction.c (revision 1.77 -> 1.78)
==================================================
--- /home/cvs/cvsroot/gnucash/src/gnome/dialog-scheduledxaction.c 2004/03/11 01:17:14 1.77
+++ /home/cvs/cvsroot/gnucash/src/gnome/dialog-scheduledxaction.c 2004/03/14 00:25:46 1.78
@@ -743,9 +743,17 @@
&& (str = kvp_value_get_string(v))
&& strlen( str ) != 0 ) {
if ( parse_vars_from_formula( str, vars, &tmp ) < 0 ) {
- PERR( "Couldn't parse credit formula for "
- "\"%s\" on second pass",
- xaccSchedXactionGetName( sxed->sx ) );
+ GString *errStr;
+
+ errStr = g_string_sized_new( 32 );
+ g_string_sprintf( errStr,
+ _( "Couldn't parse credit formula for "
+ "split \"%s\"." ),
+ xaccSplitGetMemo( s ) );
+ gnc_error_dialog( GTK_WIDGET(sxed->dialog),
+ errStr->str );
+ g_string_free( errStr, TRUE );
+
return FALSE;
}
tcds->creditSum =
@@ -761,9 +769,17 @@
&& (str = kvp_value_get_string(v))
&& strlen(str) != 0 ) {
if ( parse_vars_from_formula( str, vars, &tmp ) < 0 ) {
- PERR( "Couldn't parse debit formula for "
- "\"%s\" on second pass",
- xaccSchedXactionGetName( sxed->sx ) );
+ GString *errStr;
+
+ errStr = g_string_sized_new( 32 );
+ g_string_sprintf( errStr,
+ _( "Couldn't parse debit formula for "
+ "split \"%s\"." ),
+ xaccSplitGetMemo( s ) );
+ gnc_error_dialog( GTK_WIDGET(sxed->dialog),
+ (gchar*)errStr->str );
+ g_string_free( errStr, TRUE );
+
return FALSE;
}
tcds->debitSum = gnc_numeric_add( tcds->debitSum, tmp, 100,
More information about the Gnucash-changes
mailing list