[gimp/soc-2011-warp] warptool: change range value for strength to 0-1, max 10



commit 61813dc7898551db6cee5ca69dd812cf83503a52
Author: Michael Murà <batolettre gmail com>
Date:   Fri Jul 1 16:37:54 2011 +0200

    warptool: change range value for strength to 0-1, max 10

 app/tools/gimpwarpoptions.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/app/tools/gimpwarpoptions.c b/app/tools/gimpwarpoptions.c
index 0e2360c..0ee2b96 100644
--- a/app/tools/gimpwarpoptions.c
+++ b/app/tools/gimpwarpoptions.c
@@ -71,7 +71,7 @@ gimp_warp_options_class_init (GimpWarpOptionsClass *klass)
 
   GIMP_CONFIG_INSTALL_PROP_DOUBLE (object_class, PROP_EFFECT_STRENGTH,
                                    "effect-strength", _("Effect Strength"),
-                                   0.0, 100.0, 1.0,
+                                   0.0, 10.0, 1.0,
                                    GIMP_PARAM_STATIC_STRINGS);
 
   GIMP_CONFIG_INSTALL_PROP_DOUBLE (object_class, PROP_EFFECT_SIZE,
@@ -160,7 +160,7 @@ gimp_warp_options_gui (GimpToolOptions *tool_options)
   strength = gimp_prop_spin_scale_new (config, "effect-strength",
                                         _("Strength"),
                                         0.01, 1.0, 2);
-  gimp_spin_scale_set_scale_limits (GIMP_SPIN_SCALE (strength), 0.0, 10.0);
+  gimp_spin_scale_set_scale_limits (GIMP_SPIN_SCALE (strength), 0.0, 1.0);
   gtk_box_pack_start (GTK_BOX (vbox), strength, FALSE, FALSE, 0);
   gtk_widget_show (strength);
 



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