diff options
author | Richard Hughes <richard@hughsie.com> | 2018-03-09 10:24:47 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2018-03-09 10:24:50 +0000 |
commit | 0c54573e420b25c201a016df829906c9aee45472 (patch) | |
tree | c645e0ff6f1efea6104d32f5c96f6146f22ce952 /libappstream-builder/plugins/asb-plugin-desktop.c | |
parent | 4acf78f426d2efb1beaa8bab74d506ea099fa5b3 (diff) | |
download | appstream-glib-0c54573e420b25c201a016df829906c9aee45472.tar.gz |
Always resize AppStream icons to fit the destination size
Padding is no longer being used as it makes the software center look bad.
Lets make the application author look bad instead so they can fix the icon.
Diffstat (limited to 'libappstream-builder/plugins/asb-plugin-desktop.c')
-rw-r--r-- | libappstream-builder/plugins/asb-plugin-desktop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libappstream-builder/plugins/asb-plugin-desktop.c b/libappstream-builder/plugins/asb-plugin-desktop.c index e41e3e9..0249966 100644 --- a/libappstream-builder/plugins/asb-plugin-desktop.c +++ b/libappstream-builder/plugins/asb-plugin-desktop.c @@ -56,7 +56,7 @@ asb_app_load_icon (AsbPlugin *plugin, { g_autoptr(AsImage) im = NULL; g_autoptr(GError) error_local = NULL; - AsImageLoadFlags load_flags = AS_IMAGE_LOAD_FLAG_NONE; + AsImageLoadFlags load_flags = AS_IMAGE_LOAD_FLAG_ALWAYS_RESIZE; /* is icon in a unsupported format */ if (!asb_context_get_flag (plugin->ctx, ASB_CONTEXT_FLAG_IGNORE_LEGACY_ICONS)) |