gimp r25757 - in trunk: . app/tools
- From: neo svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r25757 - in trunk: . app/tools
- Date: Thu, 22 May 2008 16:18:57 +0000 (UTC)
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]