gimp r28237 - in branches/gimp-2-6: . app/tools



Author: mitch
Date: Fri Apr  3 14:04:10 2009
New Revision: 28237
URL: http://svn.gnome.org/viewvc/gimp?rev=28237&view=rev

Log:
2009-04-03  Michael Natterer  <mitch gimp org>

	Merged from trunk:

	Bug 577575 â transform tool fills underlying extracted area wrongly

	* app/tools/gimpfliptool.c
	* app/tools/gimpperspectivetool.c
	* app/tools/gimprotatetool.c
	* app/tools/gimpscaletool.c (gimp_*_tool_register): pass
	GIMP_CONTEXT_BACKGROUND_MASK to the register callback to the tools
	use the global background color.



Modified:
   branches/gimp-2-6/ChangeLog
   branches/gimp-2-6/app/tools/gimpfliptool.c
   branches/gimp-2-6/app/tools/gimpperspectivetool.c
   branches/gimp-2-6/app/tools/gimprotatetool.c
   branches/gimp-2-6/app/tools/gimpscaletool.c

Modified: branches/gimp-2-6/app/tools/gimpfliptool.c
==============================================================================
--- branches/gimp-2-6/app/tools/gimpfliptool.c	(original)
+++ branches/gimp-2-6/app/tools/gimpfliptool.c	Fri Apr  3 14:04:10 2009
@@ -74,7 +74,7 @@
   (* callback) (GIMP_TYPE_FLIP_TOOL,
                 GIMP_TYPE_FLIP_OPTIONS,
                 gimp_flip_options_gui,
-                0,
+                GIMP_CONTEXT_BACKGROUND_MASK,
                 "gimp-flip-tool",
                 _("Flip"),
                 _("Flip Tool: "

Modified: branches/gimp-2-6/app/tools/gimpperspectivetool.c
==============================================================================
--- branches/gimp-2-6/app/tools/gimpperspectivetool.c	(original)
+++ branches/gimp-2-6/app/tools/gimpperspectivetool.c	Fri Apr  3 14:04:10 2009
@@ -64,7 +64,7 @@
   (* callback) (GIMP_TYPE_PERSPECTIVE_TOOL,
                 GIMP_TYPE_TRANSFORM_OPTIONS,
                 gimp_transform_options_gui,
-                0,
+                GIMP_CONTEXT_BACKGROUND_MASK,
                 "gimp-perspective-tool",
                 _("Perspective"),
                 _("Perspective Tool: "

Modified: branches/gimp-2-6/app/tools/gimprotatetool.c
==============================================================================
--- branches/gimp-2-6/app/tools/gimprotatetool.c	(original)
+++ branches/gimp-2-6/app/tools/gimprotatetool.c	Fri Apr  3 14:04:10 2009
@@ -85,7 +85,7 @@
   (* callback) (GIMP_TYPE_ROTATE_TOOL,
                 GIMP_TYPE_TRANSFORM_OPTIONS,
                 gimp_transform_options_gui,
-                0,
+                GIMP_CONTEXT_BACKGROUND_MASK,
                 "gimp-rotate-tool",
                 _("Rotate"),
                 _("Rotate Tool: Rotate the layer, selection or path"),

Modified: branches/gimp-2-6/app/tools/gimpscaletool.c
==============================================================================
--- branches/gimp-2-6/app/tools/gimpscaletool.c	(original)
+++ branches/gimp-2-6/app/tools/gimpscaletool.c	Fri Apr  3 14:04:10 2009
@@ -73,7 +73,7 @@
   (* callback) (GIMP_TYPE_SCALE_TOOL,
                 GIMP_TYPE_TRANSFORM_OPTIONS,
                 gimp_transform_options_gui,
-                0,
+                GIMP_CONTEXT_BACKGROUND_MASK,
                 "gimp-scale-tool",
                 _("Scale"),
                 _("Scale Tool: Scale the layer, selection or path"),



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