diff --git a/ChangeLog b/ChangeLog index 6c6a63a9a4..0073b52b9c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-08-28 Sven Neumann + + * app/core/gimpcontext.c (gimp_context_real_set_foreground) + (gimp_context_real_set_background): keep the context colors always + opaque. Fixes bug #120912. + 2003-08-28 Sven Neumann * tools/pdbgen/pdb/image.pdb: removed a historical enum constraint diff --git a/app/core/gimpcontext.c b/app/core/gimpcontext.c index de9aae70b9..9853d3b19e 100644 --- a/app/core/gimpcontext.c +++ b/app/core/gimpcontext.c @@ -1957,6 +1957,7 @@ gimp_context_real_set_foreground (GimpContext *context, return; context->foreground = *color; + gimp_rgb_set_alpha (&context->foreground, GIMP_OPACITY_OPAQUE); g_object_notify (G_OBJECT (context), "foreground"); gimp_context_foreground_changed (context); @@ -2006,6 +2007,7 @@ gimp_context_real_set_background (GimpContext *context, return; context->background = *color; + gimp_rgb_set_alpha (&context->background, GIMP_OPACITY_OPAQUE); g_object_notify (G_OBJECT (context), "background"); gimp_context_background_changed (context);