[gimp/gimp-2-8] Bug 731765 - "Value Propagate" dialog's "Propagating rate" spinbuttons...



commit 9b7827482feb84b3a2b590db5aa81cf2ae8fdb6d
Author: Michael Natterer <mitch gimp org>
Date:   Sat Jun 21 16:52:18 2014 +0200

    Bug 731765 - "Value Propagate" dialog's "Propagating rate" spinbuttons...
    
    ...are much too quick
    
    In gimp_scale_entry_new(), set the spinbutton's climb_rate to the same
    value as step_increment instead of hardcoding 1.0. This should make
    many spinbuttons behave better.
    
    (cherry picked from commit b9265ebfb9166d2819d21410740c44ffad0f1682)

 libgimpwidgets/gimpscaleentry.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libgimpwidgets/gimpscaleentry.c b/libgimpwidgets/gimpscaleentry.c
index abff2ba..91a9a83 100644
--- a/libgimpwidgets/gimpscaleentry.c
+++ b/libgimpwidgets/gimpscaleentry.c
@@ -163,7 +163,7 @@ gimp_scale_entry_new_internal (gboolean     color_scale,
                                          unconstrained_lower,
                                          unconstrained_upper,
                                          step_increment, page_increment, 0.0,
-                                         1.0, digits);
+                                         step_increment, digits);
 
       g_signal_connect
         (G_OBJECT (constrained_adj), "value-changed",
@@ -183,7 +183,7 @@ gimp_scale_entry_new_internal (gboolean     color_scale,
     {
       spinbutton = gimp_spin_button_new (&adjustment, value, lower, upper,
                                          step_increment, page_increment, 0.0,
-                                         1.0, digits);
+                                         step_increment, digits);
 
       return_adj = adjustment;
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]