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`.
This commit is contained in:
Peter Oliver 2020-07-11 18:54:37 +01:00 committed by Jehan
parent 962a1cfea6
commit 84c08e55e1
1 changed files with 1 additions and 1 deletions

View File

@ -1749,7 +1749,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)