[PATCH 2/2] UI: add the show_account_numbers option to the preferences dialog

Florian Haas workflo at gmx.net
Wed Aug 24 08:32:18 EDT 2011


From: Florian Haas <f.g.haas at gmx.net>

---
 src/gnome-utils/glade/preferences.glade |   26 +++++++++++++++++++++-----
 1 files changed, 21 insertions(+), 5 deletions(-)

diff --git a/src/gnome-utils/glade/preferences.glade b/src/gnome-utils/glade/preferences.glade
index bb6fbb0..c68bb4f 100644
--- a/src/gnome-utils/glade/preferences.glade
+++ b/src/gnome-utils/glade/preferences.glade
@@ -2513,8 +2513,8 @@ many months before the current month:</property>
                     <property name="mnemonic_widget">gconf/general/register/max_transactions</property>
                   </widget>
                   <packing>
-                    <property name="top_attach">9</property>
-                    <property name="bottom_attach">10</property>
+                    <property name="top_attach">10</property>
+                    <property name="bottom_attach">11</property>
                     <property name="x_options">GTK_FILL</property>
                     <property name="y_options"></property>
                     <property name="x_padding">12</property>
@@ -2534,8 +2534,8 @@ many months before the current month:</property>
                   <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="top_attach">10</property>
+                    <property name="bottom_attach">11</property>
                     <property name="x_options"></property>
                     <property name="y_options"></property>
                   </packing>
@@ -2598,7 +2598,23 @@ many months before the current month:</property>
                   </packing>
                 </child>
                 <child>
-                  <placeholder/>
+                  <widget class="GtkCheckButton" id="gconf/general/register/show_account_numbers">
+                    <property name="label" translatable="yes">Display account _numbers</property>
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="receives_default">False</property>
+                    <property name="tooltip" translatable="yes">If checked, account numbers are displayed in the register and in the account selection popup. The default behaviour is to suppress the account number. Checking this option is useful if you typically refer to accounts by number, as is common in some accounting schemes.</property>
+                    <property name="use_underline">True</property>
+                    <property name="draw_indicator">True</property>
+                  </widget>
+                  <packing>
+                    <property name="right_attach">4</property>
+                    <property name="top_attach">9</property>
+                    <property name="bottom_attach">10</property>
+                    <property name="x_options">GTK_FILL</property>
+                    <property name="y_options"></property>
+                    <property name="x_padding">12</property>
+                  </packing>
                 </child>
                 <child>
                   <placeholder/>
-- 
1.7.1



More information about the gnucash-devel mailing list