[Gnucash-changes] Renamed "exchange code" to "cusip code".

David Hampton hampton at cvs.gnucash.org
Thu May 19 23:52:53 EDT 2005


Log Message:
-----------
Renamed "exchange code" to "cusip code".  The former seems like
it is referring to NASDAQ, NYSE, etc, not a code that is unique
to a specific security.  The latter is by definition security
specific.

Tags:
----
gnucash-gnome2-dev

Modified Files:
--------------
    gnucash/src/gnome/schemas:
        apps_gnucash_dialog_commodities.schemas
    gnucash/src/gnome-utils:
        gnc-tree-view-commodity.c

Revision Data
-------------
Index: apps_gnucash_dialog_commodities.schemas
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/gnome/schemas/Attic/apps_gnucash_dialog_commodities.schemas,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -Lsrc/gnome/schemas/apps_gnucash_dialog_commodities.schemas -Lsrc/gnome/schemas/apps_gnucash_dialog_commodities.schemas -u -r1.1.2.3 -r1.1.2.4
--- src/gnome/schemas/apps_gnucash_dialog_commodities.schemas
+++ src/gnome/schemas/apps_gnucash_dialog_commodities.schemas
@@ -7,7 +7,7 @@
       <owner>gnucash</owner>
       <type>list</type>
       <list_type>string</list_type>
-      <default>[namespace,symbol,name,printname,uniquename,code,fraction,quote_flag,quote_source,quote_timezone]</default>
+      <default>[namespace,symbol,name,printname,uniquename,cusip_code,fraction,quote_flag,quote_source,quote_timezone]</default>
       <locale name="C">
         <short>Order of columns in the dialog</short>
         <long>This key contains a list of name which control the order
@@ -84,14 +84,14 @@
       </locale>
     </schema>
     <schema>
-      <key>/schemas/apps/gnucash/dialogs/edit_commodities/code_visible</key>
-      <applyto>/apps/gnucash/dialogs/edit_commodities/code_visible</applyto>
+      <key>/schemas/apps/gnucash/dialogs/edit_commodities/cusip_code_visible</key>
+      <applyto>/apps/gnucash/dialogs/edit_commodities/cusip_code_visible</applyto>
       <owner>gnucash</owner>
       <type>bool</type>
       <default>TRUE</default>
       <locale name="C">
-        <short>Whether or not to show the Exchange Code Unique Data column</short>
-        <long>Whether or not to show the Exchange Code Unique Data column.</long>
+        <short>Whether or not to show the CUSIP Code (Exchange Specific Data) column</short>
+        <long>Whether or not to show the CUSIP Code (Exchange Specific Data) column.</long>
       </locale>
     </schema>
     <schema>
Index: gnc-tree-view-commodity.c
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/gnome-utils/Attic/gnc-tree-view-commodity.c,v
retrieving revision 1.1.2.5
retrieving revision 1.1.2.6
diff -Lsrc/gnome-utils/gnc-tree-view-commodity.c -Lsrc/gnome-utils/gnc-tree-view-commodity.c -u -r1.1.2.5 -r1.1.2.6
--- src/gnome-utils/gnc-tree-view-commodity.c
+++ src/gnome-utils/gnc-tree-view-commodity.c
@@ -355,10 +355,10 @@
 }
 
 static gint
-sort_by_exchange_code (GtkTreeModel *f_model,
-		       GtkTreeIter *f_iter_a,
-		       GtkTreeIter *f_iter_b,
-		       gpointer user_data)
+sort_by_cusip_code (GtkTreeModel *f_model,
+		    GtkTreeIter *f_iter_a,
+		    GtkTreeIter *f_iter_b,
+		    gpointer user_data)
 {
   gnc_commodity *comm_a, *comm_b;
 
@@ -1152,11 +1152,11 @@
    GNC_TREE_MODEL_COMMODITY_COL_VISIBILITY,
    GNC_TREE_VIEW_COLUMN_COLOR_NONE,
    0.0, GNC_TREE_VIEW_COLUMN_ALIGN_NONE,
-   sort_by_exchange_code,
+   sort_by_cusip_code,
    GTK_TREE_VIEW_COLUMN_AUTOSIZE,
    FALSE, NULL,
-   "code",
-   N_("Exchange Code")},
+   "cusip code",
+   N_("CUSIP Code")},
   {GNC_TREE_MODEL_COMMODITY_COL_FRACTION,
    GNC_TREE_MODEL_COMMODITY_COL_VISIBILITY,
    GNC_TREE_VIEW_COLUMN_COLOR_NONE,


More information about the gnucash-changes mailing list