gnucash maint: Bug 798664 - Result of 'gnucash --nofile' is marked dirty

John Ralls jralls at code.gnucash.org
Mon Dec 12 14:33:39 EST 2022


Updated	 via  https://github.com/Gnucash/gnucash/commit/b4bab92d (commit)
	from  https://github.com/Gnucash/gnucash/commit/fae5de80 (commit)



commit b4bab92da21e294f4f54dade5aee27a8be66ee85
Author: John Ralls <jralls at ceridwen.us>
Date:   Mon Dec 12 11:23:53 2022 -0800

    Bug 798664 - Result of 'gnucash --nofile' is marked dirty
    
    Don't create a new book in the new-user dialog unless the user says to.
    Don't automatically create a new book when retrieving default commodities
    because the retrieve might be requested in a context like the Preferences
    dialog when there is no book.
    
    Some report tests relied on requesting the default commodity creating
    the book, so in those tests ensure that the book is created first.



Summary of changes:
 bindings/guile/test/test-engine-extras.scm         |  1 -
 gnucash/gnome-utils/dialog-preferences.c           | 25 ++++++++++++++--------
 gnucash/gnome/dialog-new-user.c                    |  2 --
 .../reports/standard/test/test-average-balance.scm |  1 +
 .../reports/standard/test/test-balsheet-pnl.scm    |  5 ++++-
 .../reports/standard/test/test-income-gst.scm      |  2 ++
 .../reports/standard/test/test-portfolios.scm      |  5 +++--
 gnucash/report/test/test-report-utilities.scm      |  3 +++
 libgnucash/app-utils/gnc-ui-util.c                 | 13 ++++++++---
 9 files changed, 39 insertions(+), 18 deletions(-)



More information about the gnucash-patches mailing list