[Gnucash-changes] Convert the "EURO support" preference over to gconf.

David Hampton hampton at cvs.gnucash.org
Wed Sep 21 22:16:18 EDT 2005


Log Message:
-----------
Convert the "EURO support" preference over to gconf.

Tags:
----
gnucash-gnome2-dev

Modified Files:
--------------
    gnucash:
        ChangeLog
    gnucash/src/app-utils:
        prefs.scm
    gnucash/src/core-utils:
        gnc-gconf-utils.h
    gnucash/src/gnome:
        gnc-plugin-page-account-tree.c
        gnc-split-reg.c
    gnucash/src/gnome/schemas:
        apps_gnucash_general.schemas
    gnucash/src/gnome-utils:
        preferences.glade

Added Files:
-----------
    gnucash/doc:
        What_is_Euro_support

Revision Data
-------------
Index: ChangeLog
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/ChangeLog,v
retrieving revision 1.1487.2.288
retrieving revision 1.1487.2.289
diff -LChangeLog -LChangeLog -u -r1.1487.2.288 -r1.1487.2.289
--- ChangeLog
+++ ChangeLog
@@ -1,5 +1,23 @@
 2005-09-21  David Hampton  <hampton at employees.org>
 
+	* doc/What_is_Euro_support:
+	* src/app-utils/prefs.scm:
+	* src/core-utils/gnc-gconf-utils.h:
+	* src/gnome/gnc-plugin-page-account-tree.c:
+	* src/gnome/gnc-split-reg.c:
+	* src/gnome/schemas/apps_gnucash_general.schemas:
+	* src/gnome-utils/preferences.glade:
+	Convert the "EURO support" preference over to gconf.
+
+	* src/app-utils/prefs.scm:
+	* src/gnome/reconcile-list.c:
+	* src/gnome/reconcile-list.h:
+	* src/gnome/window-reconcile.c:
+	* src/gnome/schemas/Makefile.am:
+	* src/gnome/schemas/apps_gnucash_dialog_reconcile.schemas:
+	* src/gnome-utils/preferences.glade:
+	Convert the reconcile window preferences over to gconf.
+
 	* configure.in:
 	* src/app-utils/prefs.scm:
 	* src/import-export/Makefile.am:
Index: prefs.scm
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/app-utils/prefs.scm,v
retrieving revision 1.28.4.14
retrieving revision 1.28.4.15
diff -Lsrc/app-utils/prefs.scm -Lsrc/app-utils/prefs.scm -u -r1.28.4.14 -r1.28.4.15
--- src/app-utils/prefs.scm
+++ src/app-utils/prefs.scm
@@ -172,12 +172,6 @@
   "c" (N_ "Use a 24 hour (instead of a 12 hour) time format.") #f))
 
 (gnc:register-configuration-option
- (gnc:make-simple-boolean-option
-  (N_ "International") (N_ "Enable EURO support")
-  "d" (N_ "Enables support for the European Union EURO currency") 
-  (gnc:is-euro-currency-code (gnc:locale-default-iso-currency-code))))
-
-(gnc:register-configuration-option
  (gnc:make-dateformat-option
   (N_ "International") (N_ "Fancy Date Format")
   "e" (N_ "The default date format used for fancy printed dates") #f))
@@ -203,30 +197,6 @@
  (N_ "End date") (N_ "End date for profit/loss and date for net assets calculation")
  "c")
 
-;;; Reconcile Options
-
-(gnc:register-configuration-option
- (gnc:make-simple-boolean-option
-  (N_ "Reconcile") (N_ "Automatic interest transfer")
-  "a" (N_ "Prior to reconciling an account which charges or pays interest, \
-prompt the user to enter a transaction for the interest charge or payment.
-Currently only enabled for Bank, Credit, Mutual, Asset, Receivable, Payable, and Liability accounts.")
-  #f))
-
-(gnc:register-configuration-option
- (gnc:make-simple-boolean-option
-  (N_ "Reconcile") (N_ "Automatic credit card payments")
-  "b" (N_ "After reconciling a credit card statement, prompt the user \
-to enter a credit card payment")
-  #t))
-
-(gnc:register-configuration-option
- (gnc:make-simple-boolean-option
-  (N_ "Reconcile") (N_ "Check off cleared transactions")
-  "c" (N_ "Automatically check off cleared transactions when reconciling")
-  #t))
-
-
 ;;; User Info Options
 
 ;(gnc:register-configuration-option
Index: gnc-gconf-utils.h
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/core-utils/Attic/gnc-gconf-utils.h,v
retrieving revision 1.1.2.10
retrieving revision 1.1.2.11
diff -Lsrc/core-utils/gnc-gconf-utils.h -Lsrc/core-utils/gnc-gconf-utils.h -u -r1.1.2.10 -r1.1.2.11
--- src/core-utils/gnc-gconf-utils.h
+++ src/core-utils/gnc-gconf-utils.h
@@ -62,6 +62,7 @@
 #define KEY_ACCOUNT_SEPARATOR	"account_separator"
 #define KEY_NEGATIVE_IN_RED	"negative_in_red"
 #define KEY_NUMBER_OF_ROWS	"number_of_rows"
+#define KEY_ENABLE_EURO		"enable_euro"
 
 typedef void (*GncGconfGeneralCb)    (GConfEntry *entry, gpointer user_data);
 typedef void (*GncGconfGeneralAnyCb) (gpointer user_data);
Index: gnc-plugin-page-account-tree.c
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/gnome/Attic/gnc-plugin-page-account-tree.c,v
retrieving revision 1.1.2.49
retrieving revision 1.1.2.50
diff -Lsrc/gnome/gnc-plugin-page-account-tree.c -Lsrc/gnome/gnc-plugin-page-account-tree.c -u -r1.1.2.49 -r1.1.2.50
--- src/gnome/gnc-plugin-page-account-tree.c
+++ src/gnome/gnc-plugin-page-account-tree.c
@@ -201,7 +201,6 @@
 	GtkWidget *widget;
 	GtkTreeView *tree_view;
 
-	SCM         euro_change_callback_id;
 	SCM         name_change_callback_id;
 
 	GNCOptionDB * odb;
@@ -284,13 +283,6 @@
 }
 
 static void
-gnc_euro_change (gpointer data)
-{
-  /* gnc_acct_tree_window_configure (data); */
-  gnc_gui_refresh_all ();
-}
-
-static void
 gnc_plugin_page_acct_tree_view_refresh (gpointer data)
 {
 }
@@ -369,10 +361,6 @@
 
 	priv->odb     = gnc_option_db_new(priv->options);
 
-	priv->euro_change_callback_id =
-	  gnc_register_option_change_callback(gnc_euro_change, priv,
-					      "International",
-					      "Enable EURO support");
 	priv->name_change_callback_id = 
 	  gnc_option_db_register_change_callback(priv->odb, 
 						 gnc_plugin_page_acct_tree_view_refresh,
@@ -398,9 +386,6 @@
 	priv = page->priv;
 	g_return_if_fail (priv != NULL);
 
-	/* Options stuff */
-	gnc_unregister_option_change_callback_id(priv->euro_change_callback_id);
-
 	if (priv->editor_dialog) {
 	  gnc_options_dialog_destroy(priv->editor_dialog);
 	  priv->editor_dialog = NULL;
Index: gnc-split-reg.c
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/gnome/gnc-split-reg.c,v
retrieving revision 1.19.4.22
retrieving revision 1.19.4.23
diff -Lsrc/gnome/gnc-split-reg.c -Lsrc/gnome/gnc-split-reg.c -u -r1.19.4.22 -r1.19.4.23
--- src/gnome/gnc-split-reg.c
+++ src/gnome/gnc-split-reg.c
@@ -708,9 +708,7 @@
     return;
 
   leader = gnc_ledger_display_leader( gsr->ledger );
-  euro = gnc_lookup_boolean_option( "International",
-                                    "Enable EURO support",
-                                    FALSE );
+  euro = gnc_gconf_get_bool(GCONF_GENERAL, KEY_ENABLE_EURO, NULL);
 
   commodity = xaccAccountGetCommodity( leader );
 
Index: apps_gnucash_general.schemas
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/gnome/schemas/Attic/apps_gnucash_general.schemas,v
retrieving revision 1.1.2.8
retrieving revision 1.1.2.9
diff -Lsrc/gnome/schemas/apps_gnucash_general.schemas -Lsrc/gnome/schemas/apps_gnucash_general.schemas -u -r1.1.2.8 -r1.1.2.9
--- src/gnome/schemas/apps_gnucash_general.schemas
+++ src/gnome/schemas/apps_gnucash_general.schemas
@@ -59,6 +59,19 @@
     </schema>
 
     <schema>
+
+      <key>/schemas/apps/gnucash/general/enable_euro</key>
+      <applyto>/apps/gnucash/general/enable_euro</applyto>
+      <owner>gnucash</owner>
+      <type>bool</type>
+      <default>TRUE</default>
+      <locale name="C">
+        <short>Enables support for the European Union EURO currency.</short>
+        <long>Enables support for the European Union EURO currency.</long>
+      </locale>
+    </schema>
+
+    <schema>
       <key>/schemas/apps/gnucash/general/auto_decimal_point</key>
       <applyto>/apps/gnucash/general/auto_decimal_point</applyto>
       <owner>gnucash</owner>
--- /dev/null
+++ doc/What_is_Euro_support
@@ -0,0 +1,12 @@
+The following changes occur in the Gnucash GUI when the "Euro support"
+preference is enabled:
+
+1) In any register denominated in a national currency that been
+   replaced by the Euro (e.g. an account in DEM), the summarybar will
+   show totals in both the old currency and in EUR.
+
+2) There is an additional line labeled "EUR, total" in the account
+   tree summarybar.  The totals in this line are a sum of all accounts
+   denominated in currencies that have been replaced by the Euro.
+   (E.G. The sum of all accounts in DEM, plus all accounts in FRF,
+   etc., etc.)
Index: preferences.glade
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/gnome-utils/Attic/preferences.glade,v
retrieving revision 1.1.2.7
retrieving revision 1.1.2.8
diff -Lsrc/gnome-utils/preferences.glade -Lsrc/gnome-utils/preferences.glade -u -r1.1.2.7 -r1.1.2.8
--- src/gnome-utils/preferences.glade
+++ src/gnome-utils/preferences.glade
@@ -588,7 +588,7 @@
 	    <widget class="GtkTable" id="table2">
 	      <property name="border_width">6</property>
 	      <property name="visible">True</property>
-	      <property name="n_rows">14</property>
+	      <property name="n_rows">17</property>
 	      <property name="n_columns">4</property>
 	      <property name="homogeneous">False</property>
 	      <property name="row_spacing">0</property>
@@ -643,6 +643,30 @@
 	      </child>
 
 	      <child>
+		<widget class="GtkCheckButton" id="gconf/general/enable_euro">
+		  <property name="visible">True</property>
+		  <property name="tooltip" translatable="yes">Enables support for the European Union EURO currency.</property>
+		  <property name="can_focus">True</property>
+		  <property name="label" translatable="yes">_Enable Euro support</property>
+		  <property name="use_underline">True</property>
+		  <property name="relief">GTK_RELIEF_NORMAL</property>
+		  <property name="focus_on_click">True</property>
+		  <property name="active">False</property>
+		  <property name="inconsistent">False</property>
+		  <property name="draw_indicator">True</property>
+		</widget>
+		<packing>
+		  <property name="left_attach">0</property>
+		  <property name="right_attach">4</property>
+		  <property name="top_attach">4</property>
+		  <property name="bottom_attach">5</property>
+		  <property name="x_padding">12</property>
+		  <property name="x_options">fill</property>
+		  <property name="y_options"></property>
+		</packing>
+	      </child>
+
+	      <child>
 		<widget class="GtkCheckButton" id="gconf/dialogs/tip_of_the_day/show_at_startup">
 		  <property name="visible">True</property>
 		  <property name="tooltip" translatable="yes">Display hints for using GnuCash at startup</property>
@@ -667,6 +691,29 @@
 	      </child>
 
 	      <child>
+		<widget class="GtkCheckButton" id="gconf/general/tab_close_buttons">
+		  <property name="visible">True</property>
+		  <property name="can_focus">True</property>
+		  <property name="label" translatable="yes">Show close button on _notebook tabs</property>
+		  <property name="use_underline">True</property>
+		  <property name="relief">GTK_RELIEF_NORMAL</property>
+		  <property name="focus_on_click">True</property>
+		  <property name="active">False</property>
+		  <property name="inconsistent">False</property>
+		  <property name="draw_indicator">True</property>
+		</widget>
+		<packing>
+		  <property name="left_attach">0</property>
+		  <property name="right_attach">4</property>
+		  <property name="top_attach">3</property>
+		  <property name="bottom_attach">4</property>
+		  <property name="x_padding">12</property>
+		  <property name="x_options">fill</property>
+		  <property name="y_options"></property>
+		</packing>
+	      </child>
+
+	      <child>
 		<widget class="GtkHBox" id="hbox2">
 		  <property name="visible">True</property>
 		  <property name="homogeneous">False</property>
@@ -716,8 +763,8 @@
 		<packing>
 		  <property name="left_attach">1</property>
 		  <property name="right_attach">3</property>
-		  <property name="top_attach">12</property>
-		  <property name="bottom_attach">13</property>
+		  <property name="top_attach">13</property>
+		  <property name="bottom_attach">14</property>
 		  <property name="x_options">fill</property>
 		  <property name="y_options">fill</property>
 		</packing>
@@ -741,8 +788,8 @@
 		<packing>
 		  <property name="left_attach">0</property>
 		  <property name="right_attach">1</property>
-		  <property name="top_attach">12</property>
-		  <property name="bottom_attach">13</property>
+		  <property name="top_attach">13</property>
+		  <property name="bottom_attach">14</property>
 		  <property name="x_padding">12</property>
 		  <property name="x_options">fill</property>
 		  <property name="y_options"></property>
@@ -765,8 +812,8 @@
 		<packing>
 		  <property name="left_attach">0</property>
 		  <property name="right_attach">4</property>
-		  <property name="top_attach">11</property>
-		  <property name="bottom_attach">12</property>
+		  <property name="top_attach">12</property>
+		  <property name="bottom_attach">13</property>
 		  <property name="x_padding">12</property>
 		  <property name="x_options">fill</property>
 		  <property name="y_options"></property>
@@ -790,8 +837,8 @@
 		<packing>
 		  <property name="left_attach">0</property>
 		  <property name="right_attach">1</property>
-		  <property name="top_attach">10</property>
-		  <property name="bottom_attach">11</property>
+		  <property name="top_attach">11</property>
+		  <property name="bottom_attach">12</property>
 		  <property name="x_options">fill</property>
 		  <property name="y_options"></property>
 		</packing>
@@ -814,31 +861,8 @@
 		<packing>
 		  <property name="left_attach">0</property>
 		  <property name="right_attach">1</property>
-		  <property name="top_attach">9</property>
-		  <property name="bottom_attach">10</property>
-		  <property name="x_options">fill</property>
-		  <property name="y_options"></property>
-		</packing>
-	      </child>
-
-	      <child>
-		<widget class="GtkSpinButton" id="gconf/general/auto_decimal_places">
-		  <property name="visible">True</property>
-		  <property name="tooltip" translatable="yes">How many automatic decimal places will be filled in.</property>
-		  <property name="can_focus">True</property>
-		  <property name="climb_rate">1</property>
-		  <property name="digits">0</property>
-		  <property name="numeric">False</property>
-		  <property name="update_policy">GTK_UPDATE_ALWAYS</property>
-		  <property name="snap_to_ticks">False</property>
-		  <property name="wrap">False</property>
-		  <property name="adjustment">2 1 8 1 4 4</property>
-		</widget>
-		<packing>
-		  <property name="left_attach">1</property>
-		  <property name="right_attach">2</property>
-		  <property name="top_attach">8</property>
-		  <property name="bottom_attach">9</property>
+		  <property name="top_attach">10</property>
+		  <property name="bottom_attach">11</property>
 		  <property name="x_options">fill</property>
 		  <property name="y_options"></property>
 		</packing>
@@ -862,8 +886,8 @@
 		<packing>
 		  <property name="left_attach">0</property>
 		  <property name="right_attach">1</property>
-		  <property name="top_attach">8</property>
-		  <property name="bottom_attach">9</property>
+		  <property name="top_attach">9</property>
+		  <property name="bottom_attach">10</property>
 		  <property name="x_padding">12</property>
 		  <property name="x_options">fill</property>
 		  <property name="y_options"></property>
@@ -871,6 +895,29 @@
 	      </child>
 
 	      <child>
+		<widget class="GtkSpinButton" id="gconf/general/auto_decimal_places">
+		  <property name="visible">True</property>
+		  <property name="tooltip" translatable="yes">How many automatic decimal places will be filled in.</property>
+		  <property name="can_focus">True</property>
+		  <property name="climb_rate">1</property>
+		  <property name="digits">0</property>
+		  <property name="numeric">False</property>
+		  <property name="update_policy">GTK_UPDATE_ALWAYS</property>
+		  <property name="snap_to_ticks">False</property>
+		  <property name="wrap">False</property>
+		  <property name="adjustment">2 1 8 1 4 4</property>
+		</widget>
+		<packing>
+		  <property name="left_attach">1</property>
+		  <property name="right_attach">2</property>
+		  <property name="top_attach">9</property>
+		  <property name="bottom_attach">10</property>
+		  <property name="x_options">fill</property>
+		  <property name="y_options"></property>
+		</packing>
+	      </child>
+
+	      <child>
 		<widget class="GtkCheckButton" id="gconf/general/auto_decimal_point">
 		  <property name="visible">True</property>
 		  <property name="tooltip" translatable="yes">Automatically insert a decimal point into values that are entered without one.</property>
@@ -886,8 +933,8 @@
 		<packing>
 		  <property name="left_attach">0</property>
 		  <property name="right_attach">4</property>
-		  <property name="top_attach">7</property>
-		  <property name="bottom_attach">8</property>
+		  <property name="top_attach">8</property>
+		  <property name="bottom_attach">9</property>
 		  <property name="x_padding">12</property>
 		  <property name="x_options">fill</property>
 		  <property name="y_options"></property>
@@ -910,8 +957,8 @@
 		<packing>
 		  <property name="left_attach">0</property>
 		  <property name="right_attach">4</property>
-		  <property name="top_attach">6</property>
-		  <property name="bottom_attach">7</property>
+		  <property name="top_attach">7</property>
+		  <property name="bottom_attach">8</property>
 		  <property name="x_padding">12</property>
 		  <property name="x_options">fill</property>
 		  <property name="y_options"></property>
@@ -935,8 +982,8 @@
 		<packing>
 		  <property name="left_attach">0</property>
 		  <property name="right_attach">1</property>
-		  <property name="top_attach">5</property>
-		  <property name="bottom_attach">6</property>
+		  <property name="top_attach">6</property>
+		  <property name="bottom_attach">7</property>
 		  <property name="x_options">fill</property>
 		  <property name="y_options"></property>
 		</packing>
@@ -959,31 +1006,8 @@
 		<packing>
 		  <property name="left_attach">0</property>
 		  <property name="right_attach">1</property>
-		  <property name="top_attach">4</property>
-		  <property name="bottom_attach">5</property>
-		  <property name="x_options">fill</property>
-		  <property name="y_options"></property>
-		</packing>
-	      </child>
-
-	      <child>
-		<widget class="GtkCheckButton" id="gconf/general/tab_close_buttons">
-		  <property name="visible">True</property>
-		  <property name="can_focus">True</property>
-		  <property name="label" translatable="yes">Show close button on _notebook tabs</property>
-		  <property name="use_underline">True</property>
-		  <property name="relief">GTK_RELIEF_NORMAL</property>
-		  <property name="focus_on_click">True</property>
-		  <property name="active">False</property>
-		  <property name="inconsistent">False</property>
-		  <property name="draw_indicator">True</property>
-		</widget>
-		<packing>
-		  <property name="left_attach">0</property>
-		  <property name="right_attach">4</property>
-		  <property name="top_attach">3</property>
-		  <property name="bottom_attach">4</property>
-		  <property name="x_padding">12</property>
+		  <property name="top_attach">5</property>
+		  <property name="bottom_attach">6</property>
 		  <property name="x_options">fill</property>
 		  <property name="y_options"></property>
 		</packing>
@@ -1120,9 +1144,9 @@
 	      </child>
 
 	      <child>
-		<widget class="GtkLabel" id="label45">
+		<widget class="GtkLabel" id="label75">
 		  <property name="visible">True</property>
-		  <property name="label" translatable="yes">&lt;b&gt;Graphics&lt;/b&gt;</property>
+		  <property name="label" translatable="yes">&lt;b&gt;Reconciling&lt;/b&gt;</property>
 		  <property name="use_underline">False</property>
 		  <property name="use_markup">True</property>
 		  <property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -1135,7 +1159,7 @@
 		</widget>
 		<packing>
 		  <property name="left_attach">0</property>
-		  <property name="right_attach">2</property>
+		  <property name="right_attach">1</property>
 		  <property name="top_attach">4</property>
 		  <property name="bottom_attach">5</property>
 		  <property name="x_options">fill</property>
@@ -1144,10 +1168,35 @@
 	      </child>
 
 	      <child>
-		<widget class="GtkCheckButton" id="gconf/general/register/use_theme_colors">
+		<widget class="GtkLabel" id="label76">
+		  <property name="visible">True</property>
+		  <property name="label" translatable="yes"></property>
+		  <property name="use_underline">False</property>
+		  <property name="use_markup">False</property>
+		  <property name="justify">GTK_JUSTIFY_LEFT</property>
+		  <property name="wrap">False</property>
+		  <property name="selectable">False</property>
+		  <property name="xalign">0</property>
+		  <property name="yalign">0.5</property>
+		  <property name="xpad">0</property>
+		  <property name="ypad">0</property>
+		</widget>
+		<packing>
+		  <property name="left_attach">0</property>
+		  <property name="right_attach">1</property>
+		  <property name="top_attach">8</property>
+		  <property name="bottom_attach">9</property>
+		  <property name="x_options">fill</property>
+		  <property name="y_options"></property>
+		</packing>
+	      </child>
+
+	      <child>
+		<widget class="GtkCheckButton" id="gconf/dialogs/reconcile/check_cleared">
 		  <property name="visible">True</property>
+		  <property name="tooltip" translatable="yes">Pre-check cleared transactions when creating a reconcile dialog.</property>
 		  <property name="can_focus">True</property>
-		  <property name="label" translatable="yes">_Use system theme color in registers</property>
+		  <property name="label" translatable="yes">Check cleared _transactions</property>
 		  <property name="use_underline">True</property>
 		  <property name="relief">GTK_RELIEF_NORMAL</property>
 		  <property name="focus_on_click">True</property>
@@ -1167,10 +1216,11 @@
 	      </child>
 
 	      <child>
-		<widget class="GtkCheckButton" id="gconf/general/register/alternate_color_by_transaction">
+		<widget class="GtkCheckButton" id="gconf/dialogs/reconcile/auto_interest_transfer">
 		  <property name="visible">True</property>
+		  <property name="tooltip" translatable="yes">Prior to reconciling an account which charges or pays interest, prompt the user to enter a transaction for the interest charge or payment. Currently only enabled for Bank, Credit, Mutual, Asset, Receivable, Payable, and Liability accounts.</property>
 		  <property name="can_focus">True</property>
-		  <property name="label" translatable="yes">Double _mode colors alternate with transactions</property>
+		  <property name="label" translatable="yes">Automatic _interest transfer</property>
 		  <property name="use_underline">True</property>
 		  <property name="relief">GTK_RELIEF_NORMAL</property>
 		  <property name="focus_on_click">True</property>
@@ -1190,10 +1240,11 @@
 	      </child>
 
 	      <child>
-		<widget class="GtkCheckButton" id="gconf/general/register/draw_horizontal_lines">
+		<widget class="GtkCheckButton" id="gconf/dialogs/reconcile/auto_cc_payment">
 		  <property name="visible">True</property>
+		  <property name="tooltip" translatable="yes">After reconciling a credit card statement, prompt the user to enter a credit card payment.</property>
 		  <property name="can_focus">True</property>
-		  <property name="label" translatable="yes">Draw hori_zontal lines between cells</property>
+		  <property name="label" translatable="yes">Automatic credit card _payment</property>
 		  <property name="use_underline">True</property>
 		  <property name="relief">GTK_RELIEF_NORMAL</property>
 		  <property name="focus_on_click">True</property>
@@ -1227,13 +1278,106 @@
 		<packing>
 		  <property name="left_attach">0</property>
 		  <property name="right_attach">4</property>
-		  <property name="top_attach">8</property>
-		  <property name="bottom_attach">9</property>
+		  <property name="top_attach">13</property>
+		  <property name="bottom_attach">14</property>
 		  <property name="x_padding">12</property>
 		  <property name="x_options">fill</property>
 		  <property name="y_options"></property>
 		</packing>
 	      </child>
+
+	      <child>
+		<widget class="GtkCheckButton" id="gconf/general/register/draw_horizontal_lines">
+		  <property name="visible">True</property>
+		  <property name="can_focus">True</property>
+		  <property name="label" translatable="yes">Draw hori_zontal lines between cells</property>
+		  <property name="use_underline">True</property>
+		  <property name="relief">GTK_RELIEF_NORMAL</property>
+		  <property name="focus_on_click">True</property>
+		  <property name="active">False</property>
+		  <property name="inconsistent">False</property>
+		  <property name="draw_indicator">True</property>
+		</widget>
+		<packing>
+		  <property name="left_attach">0</property>
+		  <property name="right_attach">4</property>
+		  <property name="top_attach">12</property>
+		  <property name="bottom_attach">13</property>
+		  <property name="x_padding">12</property>
+		  <property name="x_options">fill</property>
+		  <property name="y_options"></property>
+		</packing>
+	      </child>
+
+	      <child>
+		<widget class="GtkCheckButton" id="gconf/general/register/alternate_color_by_transaction">
+		  <property name="visible">True</property>
+		  <property name="can_focus">True</property>
+		  <property name="label" translatable="yes">Double _mode colors alternate with transactions</property>
+		  <property name="use_underline">True</property>
+		  <property name="relief">GTK_RELIEF_NORMAL</property>
+		  <property name="focus_on_click">True</property>
+		  <property name="active">False</property>
+		  <property name="inconsistent">False</property>
+		  <property name="draw_indicator">True</property>
+		</widget>
+		<packing>
+		  <property name="left_attach">0</property>
+		  <property name="right_attach">4</property>
+		  <property name="top_attach">11</property>
+		  <property name="bottom_attach">12</property>
+		  <property name="x_padding">12</property>
+		  <property name="x_options">fill</property>
+		  <property name="y_options"></property>
+		</packing>
+	      </child>
+
+	      <child>
+		<widget class="GtkCheckButton" id="gconf/general/register/use_theme_colors">
+		  <property name="visible">True</property>
+		  <property name="can_focus">True</property>
+		  <property name="label" translatable="yes">_Use system theme color in registers</property>
+		  <property name="use_underline">True</property>
+		  <property name="relief">GTK_RELIEF_NORMAL</property>
+		  <property name="focus_on_click">True</property>
+		  <property name="active">False</property>
+		  <property name="inconsistent">False</property>
+		  <property name="draw_indicator">True</property>
+		</widget>
+		<packing>
+		  <property name="left_attach">0</property>
+		  <property name="right_attach">4</property>
+		  <property name="top_attach">10</property>
+		  <property name="bottom_attach">11</property>
+		  <property name="x_padding">12</property>
+		  <property name="x_options">fill</property>
+		  <property name="y_options"></property>
+		</packing>
+	      </child>
+
+	      <child>
+		<widget class="GtkLabel" id="label45">
+		  <property name="visible">True</property>
+		  <property name="label" translatable="yes">&lt;b&gt;Graphics&lt;/b&gt;</property>
+		  <property name="use_underline">False</property>
+		  <property name="use_markup">True</property>
+		  <property name="justify">GTK_JUSTIFY_LEFT</property>
+		  <property name="wrap">False</property>
+		  <property name="selectable">False</property>
+		  <property name="xalign">0</property>
+		  <property name="yalign">0.5</property>
+		  <property name="xpad">0</property>
+		  <property name="ypad">0</property>
+		</widget>
+		<packing>
+		  <property name="left_attach">0</property>
+		  <property name="right_attach">2</property>
+		  <property name="top_attach">9</property>
+		  <property name="bottom_attach">10</property>
+		  <property name="x_options">fill</property>
+		  <property name="y_options"></property>
+		</packing>
+	      </child>
 	    </widget>
 	    <packing>
 	      <property name="tab_expand">False</property>


More information about the gnucash-changes mailing list