[gimp] Bug 795230 - Rename Blend tool and provide PDB compatibility



commit ea474f5e78eb348d3308ea879b292f226a9a46e6
Author: Michael Natterer <mitch gimp org>
Date:   Fri Apr 13 23:27:03 2018 +0200

    Bug 795230 - Rename Blend tool and provide PDB compatibility
    
    Rename the tool cursor: blend -> gradient in filename and enum value.

 app/tools/gimpblendtool.c                     |    2 +-
 app/widgets/gimpcursor.c                      |    2 +-
 app/widgets/widgets-enums.h                   |    2 +-
 cursors/Makefile.am                           |    2 +-
 cursors/gimp-tool-cursors.xcf                 |  Bin 78346 -> 78349 bytes
 cursors/{tool-blend.png => tool-gradient.png} |  Bin 634 -> 634 bytes
 6 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/app/tools/gimpblendtool.c b/app/tools/gimpblendtool.c
index 88da693..69e01f3 100644
--- a/app/tools/gimpblendtool.c
+++ b/app/tools/gimpblendtool.c
@@ -203,7 +203,7 @@ gimp_blend_tool_init (GimpBlendTool *blend_tool)
   gimp_tool_control_set_precision          (tool->control,
                                             GIMP_CURSOR_PRECISION_SUBPIXEL);
   gimp_tool_control_set_tool_cursor        (tool->control,
-                                            GIMP_TOOL_CURSOR_BLEND);
+                                            GIMP_TOOL_CURSOR_GRADIENT);
   gimp_tool_control_set_action_opacity     (tool->control,
                                             "context/context-opacity-set");
   gimp_tool_control_set_action_object_1    (tool->control,
diff --git a/app/widgets/gimpcursor.c b/app/widgets/gimpcursor.c
index 2b5dfd9..8e1838b 100644
--- a/app/widgets/gimpcursor.c
+++ b/app/widgets/gimpcursor.c
@@ -179,7 +179,7 @@ static GimpCursor gimp_tool_cursors[] =
   { "tool-text.png" },
   { "tool-color-picker.png" },
   { "tool-bucket-fill.png" },
-  { "tool-blend.png" },
+  { "tool-gradient.png" },
   { "tool-pencil.png" },
   { "tool-paintbrush.png" },
   { "tool-airbrush.png" },
diff --git a/app/widgets/widgets-enums.h b/app/widgets/widgets-enums.h
index 6cab9c1..f0187b7 100644
--- a/app/widgets/widgets-enums.h
+++ b/app/widgets/widgets-enums.h
@@ -249,7 +249,7 @@ typedef enum  /*< skip >*/
   GIMP_TOOL_CURSOR_TEXT,
   GIMP_TOOL_CURSOR_COLOR_PICKER,
   GIMP_TOOL_CURSOR_BUCKET_FILL,
-  GIMP_TOOL_CURSOR_BLEND,
+  GIMP_TOOL_CURSOR_GRADIENT,
   GIMP_TOOL_CURSOR_PENCIL,
   GIMP_TOOL_CURSOR_PAINTBRUSH,
   GIMP_TOOL_CURSOR_AIRBRUSH,
diff --git a/cursors/Makefile.am b/cursors/Makefile.am
index 62805cd..1865769 100644
--- a/cursors/Makefile.am
+++ b/cursors/Makefile.am
@@ -43,7 +43,6 @@ CURSOR_IMAGES = \
        modifier-zoom.png                       \
        \
        tool-airbrush.png                       \
-       tool-blend.png                          \
        tool-blur.png                           \
        tool-bucket-fill.png                    \
        tool-burn.png                           \
@@ -57,6 +56,7 @@ CURSOR_IMAGES = \
        tool-flip-vertical.png                  \
        tool-free-select.png                    \
        tool-fuzzy-select.png                   \
+       tool-gradient.png                       \
        tool-hand.png                           \
        tool-heal.png                           \
        tool-ink.png                            \
diff --git a/cursors/gimp-tool-cursors.xcf b/cursors/gimp-tool-cursors.xcf
index cf4d337..5092f68 100644
Binary files a/cursors/gimp-tool-cursors.xcf and b/cursors/gimp-tool-cursors.xcf differ


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]