app, libgimp: Add metadata preference for saving thumbnail by default

Saving a thumbnail is closely related to the other metadata preferences,
but so far this was the only one that didn't have a preference for a
default user value.
This commit adds a preference in the metadata section where a user can
select whether thumbnail saving is enabled by default or not.
This commit is contained in:
Jacob Boerema 2021-08-25 15:00:45 -04:00
parent 54bd8c8763
commit 352ef68c46
10 changed files with 45 additions and 3 deletions

View file

@ -223,7 +223,7 @@ gimp_image_metadata_save_prepare (GimpImage *image,
/* Thumbnail */
if (FALSE /* FIXME if (original image had a thumbnail) */)
if (! gimp_export_thumbnail () /* FIXME if (original image had a thumbnail) */)
*suggested_flags &= ~GIMP_METADATA_SAVE_THUMBNAIL;
/* Color profile */