Bug 795230 - Rename Blend tool and provide PDB compatibility

Rename the tool cursor: blend -> gradient in filename and enum value.
This commit is contained in:
Michael Natterer 2018-04-13 23:27:03 +02:00
parent 99ea6f91e2
commit ea474f5e78
6 changed files with 4 additions and 4 deletions

View File

@ -203,7 +203,7 @@ gimp_blend_tool_init (GimpBlendTool *blend_tool)
gimp_tool_control_set_precision (tool->control, gimp_tool_control_set_precision (tool->control,
GIMP_CURSOR_PRECISION_SUBPIXEL); GIMP_CURSOR_PRECISION_SUBPIXEL);
gimp_tool_control_set_tool_cursor (tool->control, gimp_tool_control_set_tool_cursor (tool->control,
GIMP_TOOL_CURSOR_BLEND); GIMP_TOOL_CURSOR_GRADIENT);
gimp_tool_control_set_action_opacity (tool->control, gimp_tool_control_set_action_opacity (tool->control,
"context/context-opacity-set"); "context/context-opacity-set");
gimp_tool_control_set_action_object_1 (tool->control, gimp_tool_control_set_action_object_1 (tool->control,

View File

@ -179,7 +179,7 @@ static GimpCursor gimp_tool_cursors[] =
{ "tool-text.png" }, { "tool-text.png" },
{ "tool-color-picker.png" }, { "tool-color-picker.png" },
{ "tool-bucket-fill.png" }, { "tool-bucket-fill.png" },
{ "tool-blend.png" }, { "tool-gradient.png" },
{ "tool-pencil.png" }, { "tool-pencil.png" },
{ "tool-paintbrush.png" }, { "tool-paintbrush.png" },
{ "tool-airbrush.png" }, { "tool-airbrush.png" },

View File

@ -249,7 +249,7 @@ typedef enum /*< skip >*/
GIMP_TOOL_CURSOR_TEXT, GIMP_TOOL_CURSOR_TEXT,
GIMP_TOOL_CURSOR_COLOR_PICKER, GIMP_TOOL_CURSOR_COLOR_PICKER,
GIMP_TOOL_CURSOR_BUCKET_FILL, GIMP_TOOL_CURSOR_BUCKET_FILL,
GIMP_TOOL_CURSOR_BLEND, GIMP_TOOL_CURSOR_GRADIENT,
GIMP_TOOL_CURSOR_PENCIL, GIMP_TOOL_CURSOR_PENCIL,
GIMP_TOOL_CURSOR_PAINTBRUSH, GIMP_TOOL_CURSOR_PAINTBRUSH,
GIMP_TOOL_CURSOR_AIRBRUSH, GIMP_TOOL_CURSOR_AIRBRUSH,

View File

@ -43,7 +43,6 @@ CURSOR_IMAGES = \
modifier-zoom.png \ modifier-zoom.png \
\ \
tool-airbrush.png \ tool-airbrush.png \
tool-blend.png \
tool-blur.png \ tool-blur.png \
tool-bucket-fill.png \ tool-bucket-fill.png \
tool-burn.png \ tool-burn.png \
@ -57,6 +56,7 @@ CURSOR_IMAGES = \
tool-flip-vertical.png \ tool-flip-vertical.png \
tool-free-select.png \ tool-free-select.png \
tool-fuzzy-select.png \ tool-fuzzy-select.png \
tool-gradient.png \
tool-hand.png \ tool-hand.png \
tool-heal.png \ tool-heal.png \
tool-ink.png \ tool-ink.png \

Binary file not shown.

View File

Before

Width:  |  Height:  |  Size: 634 B

After

Width:  |  Height:  |  Size: 634 B