r15984 - gnucash/trunk/src/gnome-utils - Do not show ACCT_TYPE_ROOT in filter by dialog.
Andreas Köhler
andi5 at cvs.gnucash.org
Sun Apr 22 07:36:49 EDT 2007
Author: andi5
Date: 2007-04-22 07:36:47 -0400 (Sun, 22 Apr 2007)
New Revision: 15984
Trac: http://svn.gnucash.org/trac/changeset/15984
Modified:
gnucash/trunk/src/gnome-utils/gnc-tree-view-account.c
Log:
Do not show ACCT_TYPE_ROOT in filter by dialog.
Modified: gnucash/trunk/src/gnome-utils/gnc-tree-view-account.c
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-tree-view-account.c 2007-04-22 11:27:20 UTC (rev 15983)
+++ gnucash/trunk/src/gnome-utils/gnc-tree-view-account.c 2007-04-22 11:36:47 UTC (rev 15984)
@@ -1839,7 +1839,8 @@
/* Set up the tree view and model */
view = GTK_TREE_VIEW(glade_xml_get_widget (xml, FILTER_TREE_VIEW));
- fd->model = gnc_tree_model_account_types_filter_using_mask(-1);
+ fd->model = gnc_tree_model_account_types_filter_using_mask
+ (~(1 << ACCT_TYPE_ROOT));
gtk_tree_view_set_model(view, fd->model);
g_object_unref (fd->model);
More information about the gnucash-changes
mailing list