r14897 - gnucash/trunk - Make the account type list in the account dialog dynamically filtered

Andreas Köhler andi5 at cvs.gnucash.org
Tue Sep 26 18:08:36 EDT 2006


Author: andi5
Date: 2006-09-26 18:08:34 -0400 (Tue, 26 Sep 2006)
New Revision: 14897
Trac: http://svn.gnucash.org/trac/changeset/14897

Modified:
   gnucash/trunk/
   gnucash/trunk/src/gnome-utils/dialog-account.c
Log:
Make the account type list in the account dialog dynamically filtered
based on compatibility to the parent account.

* add gnc_account_parent_changed_cb. Filter by valid_types & parent
  compatible types
* add aw->preferred_account_type to remember what we chose but may not
  work currently
* make valid_types a guint32 (was GList*)
* last_used_account_type is only set in gnc_ui_to_account





More information about the gnucash-patches mailing list