mirror of https://github.com/GNOME/gimp.git
app: Clarify corner case uses of gimp_object_name_changed()
This commit is contained in:
parent
585a3fa6e4
commit
cb94993f40
|
@ -355,6 +355,7 @@ gimp_data_real_dirty (GimpData *data)
|
|||
|
||||
gimp_viewable_invalidate_preview (GIMP_VIEWABLE (data));
|
||||
|
||||
/* Emit the "name-changed" to signal general dirtiness */
|
||||
gimp_object_name_changed (GIMP_OBJECT (data));
|
||||
}
|
||||
|
||||
|
|
|
@ -122,6 +122,10 @@ gimp_floating_sel_undo_pop (GimpUndo *undo,
|
|||
gimp_layer_set_floating_sel_drawable (floating_layer, NULL);
|
||||
}
|
||||
|
||||
/* When the floating selection is converted to/from a normal
|
||||
* layer it does something resembling a name, so emit the
|
||||
* "name-changed" signal
|
||||
*/
|
||||
gimp_object_name_changed (GIMP_OBJECT (floating_layer));
|
||||
|
||||
gimp_drawable_update (GIMP_DRAWABLE (floating_layer),
|
||||
|
|
|
@ -149,6 +149,10 @@ floating_sel_to_layer (GimpLayer *layer,
|
|||
|
||||
gimp_image_undo_group_end (image);
|
||||
|
||||
/* When the floating selection is converted to/from a normal layer
|
||||
* it does something resembling a name, so emit the "name-changed"
|
||||
* signal
|
||||
*/
|
||||
gimp_object_name_changed (GIMP_OBJECT (layer));
|
||||
|
||||
gimp_drawable_update (GIMP_DRAWABLE (layer),
|
||||
|
|
Loading…
Reference in New Issue