[PATCH] Updated add/edit account window
Derek Atkins
warlord at MIT.EDU
Mon Jan 16 11:30:49 EST 2006
Chris,
Quoting Chris Shoemaker <c.shoemaker at cox.net>:
> Hello Eskil,
>
> Instead of creating and populating a GtkListStore for the Account
> types, could you please use the pre-made GtkTreeModel offered by
> gnc-tree-model-account-types.[ch]? (Preferrably "Method 1".) That
> way, you don't have to worry about life-cycle issues for the
> ListStore. You can still use the GtkComboBox and if you need
> convenience routines for managing the account-type selection state of
> the combo box, then it's okay to add them to
> gnc-tree-model-account-types.
Is there some way to make the account-type model such that it will not
allow the user to select type "currency" -- but if an account is already
type currency it will properly display it (and not force the user to
change it)?
-derek
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord at MIT.EDU PGP key available
More information about the gnucash-devel
mailing list