r15946 - gnucash/trunk/src - Improve handling of the account in the account dialog.

Andreas Köhler andi5 at cvs.gnucash.org
Sat Apr 21 08:01:03 EDT 2007


Author: andi5
Date: 2007-04-21 08:00:56 -0400 (Sat, 21 Apr 2007)
New Revision: 15946
Trac: http://svn.gnucash.org/trac/changeset/15946

Modified:
   gnucash/trunk/src/engine/Account.c
   gnucash/trunk/src/engine/Account.h
   gnucash/trunk/src/gnome-utils/dialog-account.c
   gnucash/trunk/src/gnome-utils/gnc-tree-model-account-types.h
Log:
Improve handling of the account in the account dialog.

* rename xaccAccountTypesCompatibleWith to
  xaccParentAccountTypesCompatibleWith, typically allow ACCT_TYPE_ROOT
  as parent but not as child
* remove ACCT_TYPE_ROOT from xaccAccountTypesValid
* no need to single-case the root account in gnc_common_ok anymore




More information about the gnucash-patches mailing list