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
This commit is contained in:
Martin Nordholts 2008-08-24 13:57:42 +00:00 committed by Martin Nordholts
parent 6bbeb8ef93
commit ee44ab3d32
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,9 @@
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.

View File

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