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

This commit is contained in:
Michael Natterer 2013-05-28 23:48:01 +02:00
parent 766c4a026c
commit 3f193cd503
1 changed files with 3 additions and 1 deletions

View File

@ -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);