app: Use original layer names when importing multi-layered images
We have no reason to believe that the original layer names when importing multi-layered images are not good enough, so stop adding the filename as a prefix to the names.
This commit is contained in:
@ -644,10 +644,8 @@ file_open_convert_items (GimpImage *dest_image,
|
||||
}
|
||||
else
|
||||
{
|
||||
gchar *name = g_strdup_printf ("%s - %s", basename,
|
||||
GIMP_OBJECT (src)->name);
|
||||
|
||||
gimp_object_take_name (GIMP_OBJECT (item), name);
|
||||
gimp_object_set_name (GIMP_OBJECT (item),
|
||||
gimp_object_get_name (GIMP_OBJECT (src)));
|
||||
}
|
||||
|
||||
list->data = item;
|
||||
|
||||
Reference in New Issue
Block a user