mirror of https://github.com/GNOME/gimp.git
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:
parent
962a1cfea6
commit
84c08e55e1
|
@ -1749,7 +1749,7 @@ if test "x$with_webp" != xno; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "x$have_webp" = xyes; then
|
if test "x$have_webp" = xyes; then
|
||||||
MIME_TYPES="$MIME_TYPES;image/x-webp"
|
MIME_TYPES="$MIME_TYPES;image/webp;image/x-webp"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AM_CONDITIONAL(HAVE_WEBP, test "x$have_webp" = xyes)
|
AM_CONDITIONAL(HAVE_WEBP, test "x$have_webp" = xyes)
|
||||||
|
|
Loading…
Reference in New Issue