gimp r25757 - in trunk: . app/tools



Author: neo
Date: Thu May 22 16:18:57 2008
New Revision: 25757
URL: http://svn.gnome.org/viewvc/gimp?rev=25757&view=rev

Log:
2008-05-22  Sven Neumann  <sven gimp org>

	* app/tools/gimpposterizetool.c (gimp_posterize_tool_dialog):
	use a logarithmic slider.


Modified:
   trunk/ChangeLog
   trunk/app/tools/gimpposterizetool.c

Modified: trunk/app/tools/gimpposterizetool.c
==============================================================================
--- trunk/app/tools/gimpposterizetool.c	(original)
+++ trunk/app/tools/gimpposterizetool.c	Thu May 22 16:18:57 2008
@@ -226,7 +226,11 @@
                                2.0, 256.0, 1.0, 10.0, 0,
                                TRUE, 0.0, 0.0,
                                NULL, NULL);
+
+  gimp_scale_entry_set_logarithmic (data, TRUE);
+
   posterize_tool->levels_data = GTK_ADJUSTMENT (data);
+
   slider = GIMP_SCALE_ENTRY_SCALE (data);
   gtk_range_set_update_policy (GTK_RANGE (slider), GTK_UPDATE_DELAYED);
 



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