gnucash maint: Multiple changes pushed

Christopher Lam clam at code.gnucash.org
Tue Apr 14 10:14:01 EDT 2020


Updated	 via  https://github.com/Gnucash/gnucash/commit/8f68d542 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/5c2353f0 (commit)
	from  https://github.com/Gnucash/gnucash/commit/695d8b82 (commit)



commit 8f68d54292c755de9ce2324a80cc93326fda051a
Merge: 695d8b820 5c2353f06
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Tue Apr 14 20:48:41 2020 +0800

    Merge branch 'maint-refactor-reconcile-renderers' into maint

commit 5c2353f06bcbb3b072c099e93663ea2913ec8dcb
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Mar 21 21:28:43 2020 +0800

    [window-reconcile] refactor common actions into WidgetSetAmount
    
    Previous code was ugly - reuse char *amount for all strings including
    date, gratuitous balance reversals and immediate re-reversals.
    
    Refactor common code to render and colorise amount into
    widget. Verified matches current behaviour in both BANK and CREDITCARD
    accounts.
    
    Instead of reversing sign, render, and re-reversing sign, the
    rendering function will handle sign reversal using a local variable.



Summary of changes:
 gnucash/gnome/window-reconcile.c | 79 ++++++++++++----------------------------
 1 file changed, 24 insertions(+), 55 deletions(-)



More information about the gnucash-patches mailing list