[Gnucash-changes] Must specify what columns should be visible columns after adding a new

David Hampton hampton at cvs.gnucash.org
Thu Jul 28 23:51:16 EDT 2005


Log Message:
-----------
Must specify what columns should be visible columns after adding a new
column.

Tags:
----
gnucash-gnome2-dev

Modified Files:
--------------
    gnucash/src/import-export:
        import-account-matcher.c

Revision Data
-------------
Index: import-account-matcher.c
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/import-export/import-account-matcher.c,v
retrieving revision 1.7.4.7
retrieving revision 1.7.4.8
diff -Lsrc/import-export/import-account-matcher.c -Lsrc/import-export/import-account-matcher.c -u -r1.7.4.7 -r1.7.4.8
--- src/import-export/import-account-matcher.c
+++ src/import-export/import-account-matcher.c
@@ -70,10 +70,6 @@
   picker->account_tree = GNC_TREE_VIEW_ACCOUNT(account_tree);
   gtk_tree_view_set_headers_visible (account_tree, TRUE);
 
-  /* Configure the columns */
-  gnc_tree_view_configure_columns (GNC_TREE_VIEW(picker->account_tree),
-				   "type", "description");
-
   /* Add our custom column. */
   gnc_tree_view_account_add_kvp_column (picker->account_tree,
 					_("Account ID"), "online_id");
@@ -81,6 +77,9 @@
   gtk_container_add(GTK_CONTAINER(picker->account_tree_box),
 		    GTK_WIDGET(picker->account_tree));
 
+  /* Configure the columns */
+  gnc_tree_view_configure_columns (GNC_TREE_VIEW(picker->account_tree),
+				   "type", "description", "online_id", NULL);
 }
 
 /* When user clicks to create a new account */


More information about the gnucash-changes mailing list