Commit 08ae0a9b authored by Peter Oliver's avatar Peter Oliver Committed by Jehan

Offer image/webp content type in .desktop file

Nautilus will only offer to open WebP files in applications that accept
the `image/webp` content type, not `image/x-webp`.  Even though it isn’t
on the [official
list](https://www.iana.org/assignments/media-types/media-types.xhtml#image),
`image/webp` seems to be more
[widely](https://en.wikipedia.org/wiki/WebP)
[recommended](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types#Image_types)
than `image/x-webp`.

(cherry picked from commit 84c08e55)
parent 7942fe66
Pipeline #198364 passed with stages
in 44 minutes and 22 seconds
......@@ -1779,7 +1779,7 @@ if test "x$with_webp" != xno; then
fi
if test "x$have_webp" = xyes; then
MIME_TYPES="$MIME_TYPES;image/x-webp"
MIME_TYPES="$MIME_TYPES;image/webp;image/x-webp"
fi
AM_CONDITIONAL(HAVE_WEBP, test "x$have_webp" = xyes)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment