[PATCH] Updated add/edit account window

Chris Shoemaker c.shoemaker at cox.net
Sun Jan 29 19:59:58 EST 2006


On Sun, Jan 29, 2006 at 04:03:51PM +0100, Eskil Bylund wrote:
> 2006/1/19, Chris Shoemaker <c.shoemaker at cox.net>:
> > It would definitely be nice to show selection state with checkboxes.
> > But it'd also be nice to use the static account types tree model.
> >
> > What do you think about this:?
> >
> > Keep the selection state private to the filterBy dialog instead of
> > using a new tree model for each dialog.  You can even put that
> > selection state right into a new field in the AccountFilterDialog struct.
> >
> > Instead of using an attribute mapping to the checkbox's treeviewcolumn
> > from the new model's selection-state column, use a GtkTreeCellDataFunc
> > that updates the "active" property of the GtkCellRendererToggle from
> > that private selection state field.  Then the filterBy dialog can
> > always use the static treemodel.
> >
> 
> Sorry for  the delay. Here's the patch implementing this.

Looks great.  Applied.

-chris


More information about the gnucash-devel mailing list