[gimp] app: limit the paint options' fade length scale to 1000



commit 4d3e6b062d10a7491678c1ba72409d1fd69e530f
Author: Michael Natterer <mitch gimp org>
Date:   Mon Apr 18 21:35:41 2011 +0200

    app: limit the paint options' fade length scale to 1000

 app/tools/gimppaintoptions-gui.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/app/tools/gimppaintoptions-gui.c b/app/tools/gimppaintoptions-gui.c
index 32c45e9..7c9ee6e 100644
--- a/app/tools/gimppaintoptions-gui.c
+++ b/app/tools/gimppaintoptions-gui.c
@@ -299,6 +299,7 @@ dynamics_options_gui (GimpPaintOptions *paint_options,
 
   scale = gimp_prop_spin_scale_new (config, "fade-length",
                                     _("Fade length"), 1.0, 50.0, 0);
+  gimp_spin_scale_set_scale_limits (GIMP_SPIN_SCALE (scale), 1.0, 1000.0);
   gtk_box_pack_start (GTK_BOX (hbox), scale, TRUE, TRUE, 0);
   gtk_widget_show (scale);
 



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