[gimp] app: set GimpColorBalanceTool's sliders back to -100..100



commit 3f193cd5037cbe6a4c61844608c0a0d9090f8b04
Author: Michael Natterer <mitch gimp org>
Date:   Tue May 28 23:48:01 2013 +0200

    app: set GimpColorBalanceTool's sliders back to -100..100

 app/tools/gimpcolorbalancetool.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/app/tools/gimpcolorbalancetool.c b/app/tools/gimpcolorbalancetool.c
index 238e30d..79b99b8 100644
--- a/app/tools/gimpcolorbalancetool.c
+++ b/app/tools/gimpcolorbalancetool.c
@@ -35,6 +35,7 @@
 
 #include "widgets/gimphelp-ids.h"
 #include "widgets/gimppropwidgets.h"
+#include "widgets/gimpspinscale.h"
 
 #include "display/gimpdisplay.h"
 
@@ -166,7 +167,8 @@ create_levels_scale (GObject     *config,
   gtk_widget_show (label);
 
   scale = gimp_prop_spin_scale_new (config, property_name,
-                                    NULL, 0.01, 0.1, 2);
+                                    NULL, 0.01, 0.1, 0);
+  gimp_spin_scale_set_factor (GIMP_SPIN_SCALE (scale), 100.0);
   gtk_table_attach_defaults (GTK_TABLE (table), scale, 1, 2, col, col + 1);
   gtk_widget_show (scale);
 


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