[Gnucash-changes] r12035 - gnucash/trunk - Consistently use the
string "currency" in the commodity picker window
David Hampton
hampton at cvs.gnucash.org
Sat Nov 26 01:20:56 EST 2005
Author: hampton
Date: 2005-11-26 01:20:56 -0500 (Sat, 26 Nov 2005)
New Revision: 12035
Trac: http://svn.gnucash.org/trac/changeset/12035
Modified:
gnucash/trunk/ChangeLog
gnucash/trunk/src/gnome-utils/dialog-commodity.c
Log:
Consistently use the string "currency" in the commodity picker window
instead of the string ISO4217. Previous behavior wasn't consistent.
Modified: gnucash/trunk/ChangeLog
===================================================================
--- gnucash/trunk/ChangeLog 2005-11-26 05:56:41 UTC (rev 12034)
+++ gnucash/trunk/ChangeLog 2005-11-26 06:20:56 UTC (rev 12035)
@@ -1,5 +1,9 @@
2005-11-25 David Hampton <hampton at employees.org>
+ * src/gnome-utils/dialog-commodity.c: Consistently use the string
+ "currency" in the commodity picker window instead of the string
+ ISO4217. Previous behavior wasn't consistent. Fixes 167388.
+
* src/gnome/dialog-price-edit-db.c: Allow selection of multiple
prices at once. Multiple prices can be deleted at the same time,
but not edited. implements 147557.
Modified: gnucash/trunk/src/gnome-utils/dialog-commodity.c
===================================================================
--- gnucash/trunk/src/gnome-utils/dialog-commodity.c 2005-11-26 05:56:41 UTC (rev 12034)
+++ gnucash/trunk/src/gnome-utils/dialog-commodity.c 2005-11-26 06:20:56 UTC (rev 12035)
@@ -521,6 +521,14 @@
case DIAG_COMM_ALL:
namespaces =
gnc_commodity_table_get_namespaces (gnc_get_current_commodities());
+
+ /* Replace the string "ISO4217" with "CURRENCY". */
+ node = g_list_find_custom (namespaces, GNC_COMMODITY_NS_ISO, g_strcmp);
+ if (node) {
+ namespaces = g_list_remove_link (namespaces, node);
+ g_list_free_1 (node);
+ }
+ namespaces = g_list_prepend (namespaces, "CURRENCY");
break;
case DIAG_COMM_NON_CURRENCY:
More information about the gnucash-changes
mailing list