r13271 - gnucash/trunk/src/gnome-utils - Convert the AccountType selection functions to work with GtkTreeSelections

Chris Shoemaker chris at cvs.gnucash.org
Wed Feb 15 17:06:41 EST 2006


Author: chris
Date: 2006-02-15 17:06:37 -0500 (Wed, 15 Feb 2006)
New Revision: 13271
Trac: http://svn.gnucash.org/trac/changeset/13271

Modified:
   gnucash/trunk/src/gnome-utils/dialog-account.c
   gnucash/trunk/src/gnome-utils/gnc-tree-model-account-types.c
   gnucash/trunk/src/gnome-utils/gnc-tree-model-account-types.h
Log:
   Convert the AccountType selection functions to work with GtkTreeSelections
     from views using the filtered GncTreeModelAccountTypes.
   Privatize the unfiltered GncTreeModelAccountTypes - now, every accessible
     account-types TreeModel is a new GtkTreeModelFilter, and their 
     ref-counting is always the same.
   Add some tweaks to gnc-tree-model-account-types.[ch] from 
     Andreas Köhler <andi5.py at gmx.net>, plus the conversion of the Account 
     Dialog's account-types field to use the filtered GncTreeModelAccountTypes
     instead of a GtkListStore, but simplified to use the AccountType 
     selection functions.




More information about the gnucash-patches mailing list