From ed28db12a15b33479f11adefd070b1e9aadf79cc Mon Sep 17 00:00:00 2001 From: David Hampton Date: Sun, 7 May 2006 00:14:02 +0000 Subject: [PATCH] Rebuild the column selection menu when the report currency is changed. Fixes #340243. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13936 57a11ea4-9604-0410-9ed3-97b8803252fd --- ChangeLog | 4 ++++ src/gnome-utils/gnc-tree-view-account.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index b1cd6adb0d..29cc018fa9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2006-05-06 David Hampton + * src/gnome-utils/gnc-tree-view-account.c: Rebuild the column + selection menu when the report currency is changed. Fixes + #340243. + * src/register/register-gnome/gnucash-header.c: * src/gnome-utils/dialog-transfer.c: Trivial replacements for deprecated functions. diff --git a/src/gnome-utils/gnc-tree-view-account.c b/src/gnome-utils/gnc-tree-view-account.c index 157ba4876d..356c38bd0d 100644 --- a/src/gnome-utils/gnc-tree-view-account.c +++ b/src/gnome-utils/gnc-tree-view-account.c @@ -1423,6 +1423,8 @@ gtva_update_column_names (GncTreeView *view) gtva_update_column_name(priv->total_report_column, /* Translators: %s is a currency mnemonic.*/ _("Total (%s)"), mnemonic); + gnc_tree_view_set_show_column_menu(view, FALSE); + gnc_tree_view_set_show_column_menu(view, TRUE); }