Commit 77b2a421 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

Merged from HEAD branch:

2005-01-16  Sven Neumann  <sven@gimp.org>

	Merged from HEAD branch:

	* app/tools/gimppaintoptions-gui.c (pressure_options_gui): added a
	toggle to control whether pressure affects opacity of the Airbrush
	tool (bug #164237).
parent 20986ef7
2005-01-16 Sven Neumann <sven@gimp.org>
Merged from HEAD branch:
* app/tools/gimppaintoptions-gui.c (pressure_options_gui): added a
toggle to control whether pressure affects opacity of the Airbrush
tool (bug #164237).
2005-01-16 Sven Neumann <sven@gimp.org>
Merged from HEAD branch:
* plug-ins/common/curve_bend.c: applied patch from Jan Heller that
fixes broken expose event handling (bug #164207).
......
......@@ -227,11 +227,10 @@ pressure_options_gui (GimpPressureOptions *pressure,
}
/* the opacity toggle */
if (tool_type == GIMP_TYPE_CLONE_TOOL ||
tool_type == GIMP_TYPE_DODGE_BURN_TOOL ||
tool_type == GIMP_TYPE_ERASER_TOOL ||
tool_type == GIMP_TYPE_PAINTBRUSH_TOOL ||
tool_type == GIMP_TYPE_PENCIL_TOOL)
if (g_type_is_a (tool_type, GIMP_TYPE_PAINTBRUSH_TOOL) ||
tool_type == GIMP_TYPE_CLONE_TOOL ||
tool_type == GIMP_TYPE_DODGE_BURN_TOOL ||
tool_type == GIMP_TYPE_ERASER_TOOL)
{
button = gimp_prop_check_button_new (config, "pressure-opacity",
_("Opacity"));
......
Supports Markdown
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