r23333 - gnucash/trunk/src/gnome - Clean up preferences for pricedb-editor and price-editor

Geert Janssens gjanssens at code.gnucash.org
Fri Oct 25 16:34:11 EDT 2013


Author: gjanssens
Date: 2013-10-25 16:34:10 -0400 (Fri, 25 Oct 2013)
New Revision: 23333
Trac: http://svn.gnucash.org/trac/changeset/23333

Removed:
   gnucash/trunk/src/gnome/gschemas/org.gnucash.dialogs.prices.gschema.xml.in
Modified:
   gnucash/trunk/src/gnome/dialog-price-edit-db.c
   gnucash/trunk/src/gnome/dialog-price-editor.c
   gnucash/trunk/src/gnome/gschemas/Makefile.am
   gnucash/trunk/src/gnome/gschemas/org.gnucash.dialogs.gschema.xml.in
Log:
Clean up preferences for pricedb-editor and price-editor

Modified: gnucash/trunk/src/gnome/dialog-price-edit-db.c
===================================================================
--- gnucash/trunk/src/gnome/dialog-price-edit-db.c	2013-10-25 19:03:25 UTC (rev 23332)
+++ gnucash/trunk/src/gnome/dialog-price-edit-db.c	2013-10-25 20:34:10 UTC (rev 23333)
@@ -53,7 +53,7 @@
 
 #define DIALOG_PRICE_DB_CM_CLASS "dialog-price-edit-db"
 #define STATE_SECTION "dialogs/edit_prices"
-#define GNC_PREFS_GROUP "dialogs.edit-prices"
+#define GNC_PREFS_GROUP "dialogs.pricedb-editor"
 
 /* This static indicates the debugging module that this .o belongs to.  */
 static QofLogModule log_module = GNC_MOD_GUI;

Modified: gnucash/trunk/src/gnome/dialog-price-editor.c
===================================================================
--- gnucash/trunk/src/gnome/dialog-price-editor.c	2013-10-25 19:03:25 UTC (rev 23332)
+++ gnucash/trunk/src/gnome/dialog-price-editor.c	2013-10-25 20:34:10 UTC (rev 23333)
@@ -49,7 +49,7 @@
 
 
 #define DIALOG_PRICE_EDIT_CM_CLASS "dialog-price-edit"
-#define GNC_PREFS_GROUP "dialogs.prices"
+#define GNC_PREFS_GROUP "dialogs.price-editor"
 #define DIALOG_PRICE_EDIT_SOURCE "user:price-editor"
 
 

Modified: gnucash/trunk/src/gnome/gschemas/Makefile.am
===================================================================
--- gnucash/trunk/src/gnome/gschemas/Makefile.am	2013-10-25 19:03:25 UTC (rev 23332)
+++ gnucash/trunk/src/gnome/gschemas/Makefile.am	2013-10-25 20:34:10 UTC (rev 23333)
@@ -3,7 +3,6 @@
 gschema_in_files = \
   org.gnucash.dialogs.gschema.xml.in \
   org.gnucash.dialogs.commodities.gschema.xml.in \
-  org.gnucash.dialogs.prices.gschema.xml.in \
   org.gnucash.dialogs.checkprinting.gschema.xml.in \
   org.gnucash.dialogs.reconcile.gschema.xml.in \
   org.gnucash.dialogs.sxs.gschema.xml.in \

Modified: gnucash/trunk/src/gnome/gschemas/org.gnucash.dialogs.gschema.xml.in
===================================================================
--- gnucash/trunk/src/gnome/gschemas/org.gnucash.dialogs.gschema.xml.in	2013-10-25 19:03:25 UTC (rev 23332)
+++ gnucash/trunk/src/gnome/gschemas/org.gnucash.dialogs.gschema.xml.in	2013-10-25 20:34:10 UTC (rev 23333)
@@ -3,6 +3,7 @@
     <child name="account" schema="org.gnucash.dialogs.account"/>
     <child name="preferences" schema="org.gnucash.dialogs.preferences"/>
     <child name="price-editor" schema="org.gnucash.dialogs.price-editor"/>
+    <child name="pricedb-editor" schema="org.gnucash.dialogs.pricedb-editor"/>
     <child name="reset-warnings" schema="org.gnucash.dialogs.reset-warnings"/>
     <child name="tax-info" schema="org.gnucash.dialogs.tax-info"/>
     <child name="tip-of-the-day" schema="org.gnucash.dialogs.tip-of-the-day"/>
@@ -48,6 +49,16 @@
         followed by the width and height of the window.</description>
     </key>
   </schema>
+  
+  <schema id="org.gnucash.dialogs.pricedb-editor" path="/org/gnucash/dialogs/pricedb-editor/">
+    <key name="last-geometry" type="(iiii)">
+      <default>(-1,-1,-1,-1)</default>
+      <summary>Last window position and size</summary>
+      <description>This setting describes the size and position of the window when it was last closed.
+        The numbers are the X and Y coordinates of the top left corner of the window
+        followed by the width and height of the window.</description>
+    </key>
+  </schema>
 
   <schema id="org.gnucash.dialogs.reset-warnings" path="/org/gnucash/dialogs/reset-warnings/">
     <key name="last-geometry" type="(iiii)">

Deleted: gnucash/trunk/src/gnome/gschemas/org.gnucash.dialogs.prices.gschema.xml.in
===================================================================
--- gnucash/trunk/src/gnome/gschemas/org.gnucash.dialogs.prices.gschema.xml.in	2013-10-25 19:03:25 UTC (rev 23332)
+++ gnucash/trunk/src/gnome/gschemas/org.gnucash.dialogs.prices.gschema.xml.in	2013-10-25 20:34:10 UTC (rev 23333)
@@ -1,11 +0,0 @@
-<schemalist gettext-domain="GETTEXT_PACKAGE">
-  <schema id="org.gnucash.dialogs.prices" path="/org/gnucash/dialogs/prices/">
-    <key name="last-geometry" type="(iiii)">
-      <default>(-1,-1,-1,-1)</default>
-      <summary>Last window position and size</summary>
-      <description>This setting describes the size and position of the window when it was last closed.
-        The numbers are the X and Y coordinates of the top left corner of the window
-        followed by the width and height of the window.</description>
-    </key>
-  </schema>
-</schemalist>



More information about the gnucash-changes mailing list