Applied gimp-simon-980331-0. Cosmetic change to the Layers&Channels-dialog.

I will hopefully finish my changes to the dialog tonight and will upload a
new version of my patch. Could you (the core developers) please make up your
mind whether to include it in 1.0 or not...

The Blend-Tool dialog now changes the repeat_mode_menu to insensitive when
the Gradient-Type is one of the Shapeburst-types.


--Sven
This commit is contained in:
Sven Neumann
1998-04-01 18:48:34 +00:00
parent f992be951f
commit abdc50068d
7 changed files with 38 additions and 10 deletions

View File

@ -100,6 +100,7 @@ struct _BlendOptions
int paint_mode;
GradientType gradient_type;
RepeatMode repeat;
GtkWidget *repeat_mode_menu;
int supersample;
GtkWidget *frame;
int max_depth;
@ -250,6 +251,8 @@ gradient_type_callback (GtkWidget *w,
gpointer client_data)
{
blend_options->gradient_type = (GradientType) client_data;
gtk_widget_set_sensitive (blend_options->repeat_mode_menu,
(blend_options->gradient_type < 6));
}
static void
@ -444,6 +447,8 @@ create_blend_options ()
gtk_widget_show(label);
gtk_widget_show(rt_option_menu);
options->repeat_mode_menu = rt_option_menu;
/* show the whole table */
gtk_widget_show (table);