[PATCH] Updated add/edit account window

Eskil Bylund eskil.bylund at gmail.com
Sun Jan 29 10:03:51 EST 2006


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gnucash-filter-dialog.patch
Type: text/x-patch
Size: 6878 bytes
Desc: not available
Url : http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20060129/7db7f8b0/gnucash-filter-dialog.bin


More information about the gnucash-devel mailing list