Commit b3e5046e authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer
Browse files

added "reset" code for the new auto_shrink tool options.

2001-11-21  Michael Natterer  <mitch@gimp.org>

	* app/tools/selection_options.c: added "reset" code for the new
	auto_shrink tool options.
parent 7662431c
2001-11-21 Michael Natterer <mitch@gimp.org>
* app/tools/selection_options.c: added "reset" code for the new
auto_shrink tool options.
2001-11-21 Michael Natterer <mitch@gimp.org>
* pixmaps/Makefile.am
......
......@@ -374,8 +374,10 @@ selection_options_reset (GimpToolOptions *tool_options)
}
if (options->antialias_w)
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (options->antialias_w),
options->antialias_d);
{
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (options->antialias_w),
options->antialias_d);
}
if (options->sample_merged_w)
{
......@@ -385,6 +387,14 @@ selection_options_reset (GimpToolOptions *tool_options)
gimprc.default_threshold);
}
if (options->auto_shrink_w)
{
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (options->auto_shrink_w),
options->auto_shrink_d);
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (options->shrink_merged_w),
options->shrink_merged_d);
}
if (options->fixed_size_w)
{
GtkWidget *spinbutton;
......
......@@ -374,8 +374,10 @@ selection_options_reset (GimpToolOptions *tool_options)
}
if (options->antialias_w)
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (options->antialias_w),
options->antialias_d);
{
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (options->antialias_w),
options->antialias_d);
}
if (options->sample_merged_w)
{
......@@ -385,6 +387,14 @@ selection_options_reset (GimpToolOptions *tool_options)
gimprc.default_threshold);
}
if (options->auto_shrink_w)
{
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (options->auto_shrink_w),
options->auto_shrink_d);
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (options->shrink_merged_w),
options->shrink_merged_d);
}
if (options->fixed_size_w)
{
GtkWidget *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