mirror of https://github.com/GNOME/gimp.git
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().
This commit is contained in:
parent
6bb4458abb
commit
ab6f72912c
|
@ -1,9 +1,16 @@
|
|||
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 ();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue