[Gnucash-changes] r13936 - gnucash/trunk - Rebuild the column selection menu when the report currency is changed.

David Hampton hampton at cvs.gnucash.org
Sat May 6 20:14:03 EDT 2006


Author: hampton
Date: 2006-05-06 20:14:02 -0400 (Sat, 06 May 2006)
New Revision: 13936
Trac: http://svn.gnucash.org/trac/changeset/13936

Modified:
   gnucash/trunk/ChangeLog
   gnucash/trunk/src/gnome-utils/gnc-tree-view-account.c
Log:
Rebuild the column selection menu when the report currency is changed.
Fixes #340243.


Modified: gnucash/trunk/ChangeLog
===================================================================
--- gnucash/trunk/ChangeLog	2006-05-06 23:23:23 UTC (rev 13935)
+++ gnucash/trunk/ChangeLog	2006-05-07 00:14:02 UTC (rev 13936)
@@ -1,5 +1,9 @@
 2006-05-06  David Hampton  <hampton at employees.org>
 
+	* 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.

Modified: gnucash/trunk/src/gnome-utils/gnc-tree-view-account.c
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-tree-view-account.c	2006-05-06 23:23:23 UTC (rev 13935)
+++ gnucash/trunk/src/gnome-utils/gnc-tree-view-account.c	2006-05-07 00:14:02 UTC (rev 13936)
@@ -1423,6 +1423,8 @@
   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);
 }
 
 



More information about the gnucash-changes mailing list