mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Change the default visibilities of the GncTreeViewAccount widget to
only show the account name column. This is the most commonly used case for this widget. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13085 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
0324351b44
commit
8b49655349
12
ChangeLog
12
ChangeLog
@ -1,3 +1,15 @@
|
||||
2006-02-02 David Hampton <hampton@employees.org>
|
||||
|
||||
* src/business/dialog-tax-table/dialog-tax-table.c:
|
||||
* src/gnome-utils/gnc-tree-view-account.c:
|
||||
* src/gnome-utils/dialog-account.c:
|
||||
* src/gnome/gnc-plugin-page-account-tree.c:
|
||||
* src/gnome/druid-stock-split.c:
|
||||
* src/gnome/dialog-tax-info.c:
|
||||
* src/gnome/druid-hierarchy.c: Change the default visibilities of
|
||||
the GncTreeViewAccount widget to only show the account name
|
||||
column. This is the most commonly used case for this widget.
|
||||
|
||||
2006-02-02 Joshua Sled <jsled@asynchronous.org>
|
||||
|
||||
* lib/libqof/qof/qofsession.c (qof_session_load_backend): get+load
|
||||
|
@ -259,7 +259,6 @@ new_tax_table_dialog (TaxTableWindow *ttw, gboolean new_table,
|
||||
ntt->acct_tree = GTK_WIDGET(gnc_tree_view_account_new (FALSE));
|
||||
gtk_container_add (GTK_CONTAINER (box), ntt->acct_tree);
|
||||
gtk_tree_view_set_headers_visible (GTK_TREE_VIEW(ntt->acct_tree), FALSE);
|
||||
gnc_tree_view_configure_columns (GNC_TREE_VIEW(ntt->acct_tree), NULL);
|
||||
|
||||
/* Make 'enter' do the right thing */
|
||||
gtk_entry_set_activates_default(GTK_ENTRY (gnc_amount_edit_gtk_entry
|
||||
|
@ -1339,7 +1339,6 @@ gnc_account_window_create(AccountWindow *aw)
|
||||
// group = gnc_book_get_group (gnc_get_current_book ());
|
||||
aw->parent_tree = gnc_tree_view_account_new(TRUE);
|
||||
gtk_container_add(GTK_CONTAINER(box), GTK_WIDGET(aw->parent_tree));
|
||||
gnc_tree_view_configure_columns (GNC_TREE_VIEW(aw->parent_tree), NULL);
|
||||
gtk_widget_show(GTK_WIDGET(aw->parent_tree));
|
||||
aw->top_level_account =
|
||||
gnc_tree_view_account_get_top_level (GNC_TREE_VIEW_ACCOUNT(aw->parent_tree));
|
||||
|
@ -512,7 +512,8 @@ gnc_tree_view_account_new_with_group (AccountGroup *group, gboolean show_root)
|
||||
sort_by_placeholder,
|
||||
gnc_tree_view_account_placeholder_toggled);
|
||||
|
||||
gnc_tree_view_configure_columns(view, "description", "total", NULL);
|
||||
/* By default only the first column is visible. */
|
||||
gnc_tree_view_configure_columns(view, NULL);
|
||||
gtk_tree_model_filter_set_visible_func (GTK_TREE_MODEL_FILTER (f_model),
|
||||
gnc_tree_view_account_filter_helper,
|
||||
view,
|
||||
|
@ -752,7 +752,6 @@ gnc_tax_info_dialog_create (GtkWidget * parent, TaxInfoDialog *ti_dialog)
|
||||
|
||||
box = glade_xml_get_widget (xml, "account_hbox");
|
||||
tree_view = gnc_tree_view_account_new (FALSE);
|
||||
gnc_tree_view_configure_columns (GNC_TREE_VIEW(tree_view), NULL);
|
||||
gnc_tree_view_account_set_filter (GNC_TREE_VIEW_ACCOUNT(tree_view),
|
||||
gnc_tax_info_dialog_account_filter_func,
|
||||
ti_dialog, NULL);
|
||||
|
@ -384,7 +384,6 @@ categories_tree_selection_changed (GtkTreeSelection *selection,
|
||||
gtk_text_buffer_set_text(buffer, gea->long_description, -1);
|
||||
|
||||
tree_view = gnc_tree_view_account_new_with_group (gea->group, FALSE);
|
||||
gnc_tree_view_configure_columns (GNC_TREE_VIEW(tree_view), NULL);
|
||||
/* Override the normal fixed (user settable) sizing */
|
||||
column = gtk_tree_view_get_column(GTK_TREE_VIEW(tree_view), 0);
|
||||
gtk_tree_view_column_set_sizing(column, GTK_TREE_VIEW_COLUMN_AUTOSIZE);
|
||||
|
@ -659,7 +659,6 @@ gnc_stock_split_druid_create (StockSplitInfo *info)
|
||||
|
||||
/* income tree */
|
||||
tree = GTK_WIDGET(gnc_tree_view_account_new (FALSE));
|
||||
gnc_tree_view_configure_columns(GNC_TREE_VIEW(tree), NULL);
|
||||
info->income_tree = tree;
|
||||
gnc_tree_view_account_set_filter (GNC_TREE_VIEW_ACCOUNT (tree),
|
||||
gnc_stock_split_druid_view_filter_income,
|
||||
@ -677,7 +676,6 @@ gnc_stock_split_druid_create (StockSplitInfo *info)
|
||||
|
||||
/* asset tree */
|
||||
tree = GTK_WIDGET(gnc_tree_view_account_new (FALSE));
|
||||
gnc_tree_view_configure_columns(GNC_TREE_VIEW(tree), NULL);
|
||||
info->asset_tree = tree;
|
||||
gnc_tree_view_account_set_filter (GNC_TREE_VIEW_ACCOUNT (tree),
|
||||
gnc_stock_split_druid_view_filter_asset,
|
||||
|
@ -417,6 +417,8 @@ gnc_plugin_page_account_tree_create_widget (GncPluginPage *plugin_page)
|
||||
TRUE, TRUE, 0);
|
||||
|
||||
tree_view = gnc_tree_view_account_new(FALSE);
|
||||
gnc_tree_view_configure_columns(GNC_TREE_VIEW(tree_view),
|
||||
"description", "total", NULL);
|
||||
g_object_set(G_OBJECT(tree_view),
|
||||
"gconf-section", GCONF_SECTION,
|
||||
"show-column-menu", TRUE,
|
||||
|
Loading…
Reference in New Issue
Block a user