r23528 - gnucash/trunk/src - Ensure that opening an existing book never opens an empty main window.

Geert Janssens gjanssens at code.gnucash.org
Tue Dec 10 12:13:01 EST 2013


Author: gjanssens
Date: 2013-12-10 12:13:00 -0500 (Tue, 10 Dec 2013)
New Revision: 23528
Trac: http://svn.gnucash.org/trac/changeset/23528

Modified:
   gnucash/trunk/src/gnome-utils/gnc-main-window.c
   gnucash/trunk/src/gnome-utils/gnc-main-window.h
   gnucash/trunk/src/gnome/top-level.c
Log:
Ensure that opening an existing book never opens an empty main window.

If there's only one window, automatically add an account hierarchy page
to it. If it's a subsequent empty window, just ignore it (ie don't restore
it from the state file).

This commit deals with the secondary issue mentioned in
bug 436479 - Gnucash doesn't display the data file name in the title bar



More information about the gnucash-patches mailing list