gnucash maint: Display report zoom factor with one decimal space.

Geert Janssens gjanssens at code.gnucash.org
Sat May 2 12:11:20 EDT 2020


Updated	 via  https://github.com/Gnucash/gnucash/commit/ca9d58b2 (commit)
	from  https://github.com/Gnucash/gnucash/commit/b4177bc6 (commit)



commit ca9d58b2783e55132b7d2d69eb60faf115e30088
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Sat May 2 18:11:05 2020 +0200

    Display report zoom factor with one decimal space.
    
    The code actually allowed fractional scaling, but the display of the option didn't.
    As a result the spin button was acting oddly.
    This was discovered while looking into bug
    https://bugs.gnucash.org/show_bug.cgi?id=797712 but this commit is not a fix for that bug.

diff --git a/gnucash/gtkbuilder/dialog-preferences.glade b/gnucash/gtkbuilder/dialog-preferences.glade
index a4456b1fc..ca4c74251 100644
--- a/gnucash/gtkbuilder/dialog-preferences.glade
+++ b/gnucash/gtkbuilder/dialog-preferences.glade
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- Generated with glade 3.22.1 -->
+<!-- Generated with glade 3.22.2 -->
 <interface>
   <requires lib="gtk+" version="3.10"/>
   <object class="GtkAdjustment" id="auto_decimal_places_adj">
@@ -105,7 +105,7 @@
     <property name="default_height">400</property>
     <property name="type_hint">normal</property>
     <signal name="response" handler="gnc_preferences_response_cb" swapped="no"/>
-    <child>
+    <child type="titlebar">
       <placeholder/>
     </child>
     <child internal-child="vbox">
@@ -2854,6 +2854,7 @@ many months before the current month:</property>
                         <property name="halign">start</property>
                         <property name="margin_left">12</property>
                         <property name="adjustment">default_zoom_adj</property>
+                        <property name="digits">1</property>
                       </object>
                       <packing>
                         <property name="expand">False</property>



Summary of changes:
 gnucash/gtkbuilder/dialog-preferences.glade | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)



More information about the gnucash-changes mailing list