gnucash maint: Use a comment to indicate full account name in saved register state

Geert Janssens gjanssens at code.gnucash.org
Thu Jun 21 04:33:32 EDT 2018


Updated	 via  https://github.com/Gnucash/gnucash/commit/a2983935 (commit)
	from  https://github.com/Gnucash/gnucash/commit/d906ac41 (commit)



commit a2983935a2ea1a6a20c2047fb807b3838364c882
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Thu Jun 21 10:31:27 2018 +0200

    Use a comment to indicate full account name in saved register state
    
    This replaces the 'account_name' key in the same state. Keys should only be used
    data that's actually parsed when reading the state. Using a key for account_name here
    can create the false impression this data can be modified. A comment makes it much more
    clear the name is only informational while keeping the convenience.



Summary of changes:
 gnucash/register/register-gnome/table-gnome.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)



More information about the gnucash-patches mailing list