[gimp/soc-2011-warp] warp tool: range the range of the strength to 1-->100



commit 11571f53b39869f3c9fbe89811f3cf91aeb33925
Author: Michael Murà <batolettre gmail com>
Date:   Tue Aug 2 22:09:07 2011 +0200

    warp tool: range the range of the strength to 1-->100

 app/tools/gimpwarpoptions.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/app/tools/gimpwarpoptions.c b/app/tools/gimpwarpoptions.c
index 44b7b88..4ecf9e1 100644
--- a/app/tools/gimpwarpoptions.c
+++ b/app/tools/gimpwarpoptions.c
@@ -72,7 +72,7 @@ gimp_warp_options_class_init (GimpWarpOptionsClass *klass)
 
   GIMP_CONFIG_INSTALL_PROP_DOUBLE (object_class, PROP_EFFECT_STRENGTH,
                                    "effect-strength", _("Effect Strength"),
-                                   0.0, 10.0, 1.0,
+                                   1.0, 100.0, 50.0,
                                    GIMP_PARAM_STATIC_STRINGS);
 
   GIMP_CONFIG_INSTALL_PROP_DOUBLE (object_class, PROP_EFFECT_SIZE,
@@ -172,8 +172,8 @@ 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, 1.0);
+                                       1, 10, 1);
+  gimp_spin_scale_set_scale_limits (GIMP_SPIN_SCALE (strength), 1.0, 100.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]