[gimp] warptool: change range value for strength to 0-1, max 10
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] warptool: change range value for strength to 0-1, max 10
- Date: Tue, 21 May 2013 21:46:54 +0000 (UTC)
commit 34117fdba0e6a7f451e495ae5c5f8851a31d28f3
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]