Commit ee44ab3d authored by Martin Nordholts's avatar Martin Nordholts Committed by Martin Nordholts

Set page_size for the Ouput/Input Levels lower/upper adjustments to 0 to

2008-08-24  Martin Nordholts  <martinn@svn.gnome.org>

	* app/tools/gimplevelstool.c (gimp_levels_tool_dialog): Set
	page_size for the Ouput/Input Levels lower/upper adjustments to 0
	to adapt to new and more correct value clamping in GTK+.

svn path=/trunk/; revision=26743
parent 6bbeb8ef
2008-08-24 Martin Nordholts <martinn@svn.gnome.org>
* app/tools/gimplevelstool.c (gimp_levels_tool_dialog): Set
page_size for the Ouput/Input Levels lower/upper adjustments to 0
to adapt to new and more correct value clamping in GTK+.
2008-08-24 Martin Nordholts <martinn@svn.gnome.org>
* authors.xml: Updated for 2.6 release.
......
......@@ -494,7 +494,7 @@ gimp_levels_tool_dialog (GimpImageMapTool *image_map_tool)
spinbutton = gimp_spin_button_new (&data,
config->low_input[config->channel] * 255.0,
0, 255, 1, 10, 10, 0.5, 0);
0, 255, 1, 10, 0, 0.5, 0);
gtk_box_pack_start (GTK_BOX (hbox2), spinbutton, FALSE, FALSE, 0);
gtk_widget_show (spinbutton);
......@@ -540,7 +540,7 @@ gimp_levels_tool_dialog (GimpImageMapTool *image_map_tool)
spinbutton = gimp_spin_button_new (&data,
config->high_input[config->channel] * 255.0,
0, 255, 1, 10, 10, 0.5, 0);
0, 255, 1, 10, 0, 0.5, 0);
gtk_box_pack_start (GTK_BOX (hbox2), spinbutton, FALSE, FALSE, 0);
gtk_widget_show (spinbutton);
......@@ -601,7 +601,7 @@ gimp_levels_tool_dialog (GimpImageMapTool *image_map_tool)
/* low output spin */
spinbutton = gimp_spin_button_new (&data,
config->low_output[config->channel] * 255.0,
0, 255, 1, 10, 10, 0.5, 0);
0, 255, 1, 10, 0, 0.5, 0);
gtk_box_pack_start (GTK_BOX (hbox), spinbutton, FALSE, FALSE, 0);
gtk_widget_show (spinbutton);
......@@ -616,7 +616,7 @@ gimp_levels_tool_dialog (GimpImageMapTool *image_map_tool)
/* high output spin */
spinbutton = gimp_spin_button_new (&data,
config->high_output[config->channel] * 255.0,
0, 255, 1, 10, 10, 0.5, 0);
0, 255, 1, 10, 0, 0.5, 0);
gtk_box_pack_end (GTK_BOX (hbox), spinbutton, FALSE, FALSE, 0);
gtk_widget_show (spinbutton);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment