r13615 - gnucash/trunk - Add a new per-page callback to tell the page to finish any pending

David Hampton hampton at cvs.gnucash.org
Sun Mar 12 23:37:59 EST 2006


Author: hampton
Date: 2006-03-12 23:37:58 -0500 (Sun, 12 Mar 2006)
New Revision: 13615
Trac: http://svn.gnucash.org/trac/changeset/13615

Modified:
   gnucash/trunk/ChangeLog
   gnucash/trunk/src/gnome-utils/gnc-main-window.c
   gnucash/trunk/src/gnome-utils/gnc-main-window.h
   gnucash/trunk/src/gnome-utils/gnc-plugin-page.c
   gnucash/trunk/src/gnome-utils/gnc-plugin-page.h
   gnucash/trunk/src/gnome/gnc-plugin-basic-commands.c
   gnucash/trunk/src/gnome/gnc-plugin-page-register.c
Log:
Add a new per-page callback to tell the page to finish any pending
activities.  The page may return FALSE to abort whatever the caller's
normal function.  Add helper routines to iterate over all pages in a
window, or all pages in all windows.  Call these new functions before
Quit, Save, Close, and closing a window.  The register page now
implements this hook and uses it to save/discard any pending
transaction.  Closes 334090.




More information about the gnucash-patches mailing list