From 4a30a71c4378bfa0bc980b25d92ea6346c912cfa Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Mon, 14 Jul 2003 16:45:39 +0000 Subject: [PATCH] oops, forgot this one... --- app/tools/gimppaintoptions-gui.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/app/tools/gimppaintoptions-gui.c b/app/tools/gimppaintoptions-gui.c index 10b3bf98a8..051bd8daa9 100644 --- a/app/tools/gimppaintoptions-gui.c +++ b/app/tools/gimppaintoptions-gui.c @@ -158,7 +158,9 @@ gimp_paint_options_gui (GimpToolOptions *tool_options) } /* the gradient preview */ - if (tool_options->tool_info->tool_type == GIMP_TYPE_BLEND_TOOL) + if (tool_options->tool_info->tool_type == GIMP_TYPE_PAINTBRUSH_TOOL || + tool_options->tool_info->tool_type == GIMP_TYPE_PENCIL_TOOL || + tool_options->tool_info->tool_type == GIMP_TYPE_BLEND_TOOL) { button = gimp_viewable_button_new (context->gimp->gradient_factory->container, context, @@ -336,7 +338,8 @@ fade_options_gui (GimpGradientOptions *gradient, config = G_OBJECT (paint_options); - if (tool_type == GIMP_TYPE_PAINTBRUSH_TOOL) + if (tool_type == GIMP_TYPE_PAINTBRUSH_TOOL || + tool_type == GIMP_TYPE_PENCIL_TOOL) { frame = gtk_frame_new (NULL); @@ -391,8 +394,9 @@ gradient_options_gui (GimpGradientOptions *gradient, config = G_OBJECT (paint_options); - if (tool_type == GIMP_TYPE_PAINTBRUSH_TOOL) - { + if (tool_type == GIMP_TYPE_PAINTBRUSH_TOOL || + tool_type == GIMP_TYPE_PENCIL_TOOL) + { frame = gtk_frame_new (NULL); table = gtk_table_new (2, 3, FALSE);