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



commit b9265ebfb9166d2819d21410740c44ffad0f1682
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.

 libgimpwidgets/gimpscaleentry.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libgimpwidgets/gimpscaleentry.c b/libgimpwidgets/gimpscaleentry.c
index a5ba52e..5c86df9 100644
--- a/libgimpwidgets/gimpscaleentry.c
+++ b/libgimpwidgets/gimpscaleentry.c
@@ -164,7 +164,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",
@@ -184,7 +184,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]