Commit ab6f7291 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer
Browse files

when applying or deleting the layer mask, we have to call

2000-12-03  Michael Natterer  <mitch@gimp.org>

	* app/layers_dialog.c: when applying or deleting the layer mask,
	we have to call layers_dialog_set_menu_sensitivity() ourselves
	whenever calling layer_widget_layer_flush() instead of
	gdisplays_flush().
parent 6bb4458a
2000-12-03 Michael Natterer <mitch@gimp.org>
* app/layers_dialog.c: when applying or deleting the layer mask,
we have to call layers_dialog_set_menu_sensitivity() ourselves
whenever calling layer_widget_layer_flush() instead of
gdisplays_flush().
2000-12-03 Michael Natterer <mitch@gimp.org>
 
* plug-ins/gflare/gflare.c
* libgimp/gimpunitmenu.c
* libgimp/gimpwidgets.c: set separators of option menus insensitive.
(see Sven's fix below below).
(see Sven's fix below).
 
* app/layers_dialog.c: set "Merge Down" insensitive for
the bottom layer.
......
......@@ -1732,12 +1732,15 @@ layers_dialog_apply_layer_mask_callback (GtkWidget *widget,
layer, APPLY);
if (flush)
gdisplays_flush ();
{
gdisplays_flush ();
}
else
{
LayerWidget *layer_widget = layer_widget_get_ID (layer);
layer_widget_layer_flush (layer_widget->list_item, NULL);
layers_dialog_set_menu_sensitivity ();
}
}
}
......@@ -1762,12 +1765,15 @@ layers_dialog_delete_layer_mask_callback (GtkWidget *widget,
layer, DISCARD);
if (flush)
gdisplays_flush ();
{
gdisplays_flush ();
}
else
{
LayerWidget *layer_widget = layer_widget_get_ID (layer);
layer_widget_layer_flush (layer_widget->list_item, NULL);
layers_dialog_set_menu_sensitivity ();
}
}
}
......
......@@ -1732,12 +1732,15 @@ layers_dialog_apply_layer_mask_callback (GtkWidget *widget,
layer, APPLY);
if (flush)
gdisplays_flush ();
{
gdisplays_flush ();
}
else
{
LayerWidget *layer_widget = layer_widget_get_ID (layer);
layer_widget_layer_flush (layer_widget->list_item, NULL);
layers_dialog_set_menu_sensitivity ();
}
}
}
......@@ -1762,12 +1765,15 @@ layers_dialog_delete_layer_mask_callback (GtkWidget *widget,
layer, DISCARD);
if (flush)
gdisplays_flush ();
{
gdisplays_flush ();
}
else
{
LayerWidget *layer_widget = layer_widget_get_ID (layer);
layer_widget_layer_flush (layer_widget->list_item, NULL);
layers_dialog_set_menu_sensitivity ();
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment