From df746ca961e1a3ba1c1d4b8ad9d84ee4e1a1c013 Mon Sep 17 00:00:00 2001 From: Alex Kent Hajnal Date: Tue, 21 May 2024 15:03:15 -0400 Subject: [PATCH] Advertise WebP read support via .desktop files This resolves issue #1 Signed-off-by: Alex Kent Hajnal (cherry picked from commit 9cb3d5b8ca59cd78bc47e04d6a84aa20ddc63c56) --- src/desktopfiles/gwenview.desktop | 2 +- src/gvimagepart/gvimagepart.desktop | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/desktopfiles/gwenview.desktop b/src/desktopfiles/gwenview.desktop index d3aa1c7..92beddf 100644 --- a/src/desktopfiles/gwenview.desktop +++ b/src/desktopfiles/gwenview.desktop @@ -11,5 +11,5 @@ Icon=gwenview Exec=gwenview %u -caption "%c" %i %m Terminal=false Categories=Qt;TDE;Graphics; -MimeType=image/gif;image/x-xpm;image/x-xbm;image/jpeg;image/x-pcx;image/x-bmp;image/png;image/x-ico;image/x-portable-bitmap;image/x-portable-pixmap;image/x-portable-greymap;image/tiff;image/x-targa;image/svg+xml; +MimeType=image/gif;image/x-xpm;image/x-xbm;image/jpeg;image/x-pcx;image/x-bmp;image/png;image/webp;image/x-ico;image/x-portable-bitmap;image/x-portable-pixmap;image/x-portable-greymap;image/tiff;image/x-targa;image/svg+xml; X-DocPath=gwenview/index.html diff --git a/src/gvimagepart/gvimagepart.desktop b/src/gvimagepart/gvimagepart.desktop index ae018d6..76c2c84 100644 --- a/src/gvimagepart/gvimagepart.desktop +++ b/src/gvimagepart/gvimagepart.desktop @@ -2,7 +2,7 @@ Type=Service Name=Gwenview Image Viewer Icon=gwenview -MimeType=image/gif;image/jpeg;image/png;image/x-bmp;image/x-eps;image/x-ico;image/x-krl;image/x-portable-bitmap;image/x-portable-pixmap;image/x-xbm;image/x-xpm +MimeType=image/gif;image/jpeg;image/png;image/webp;image/x-bmp;image/x-eps;image/x-ico;image/x-krl;image/x-portable-bitmap;image/x-portable-pixmap;image/x-xbm;image/x-xpm X-TDE-ServiceTypes=KParts/ReadOnlyPart X-TDE-Library=libgvimagepart X-TDE-InitialPreference=5