summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Kent Hajnal <[email protected]>2024-05-21 15:03:15 -0400
committerMichele Calgaro <[email protected]>2024-05-22 16:52:20 +0900
commitdf746ca961e1a3ba1c1d4b8ad9d84ee4e1a1c013 (patch)
treeee7cbcd83cf81a79a1e1f318344a89651b3699b0
parent5703e424cb3c0541e75449d8c740a0409e9843c5 (diff)
downloadgwenview-df746ca961e1a3ba1c1d4b8ad9d84ee4e1a1c013.tar.gz
gwenview-df746ca961e1a3ba1c1d4b8ad9d84ee4e1a1c013.zip
Advertise WebP read support via .desktop files
This resolves issue #1 Signed-off-by: Alex Kent Hajnal <[email protected]> (cherry picked from commit 9cb3d5b8ca59cd78bc47e04d6a84aa20ddc63c56)
-rw-r--r--src/desktopfiles/gwenview.desktop2
-rw-r--r--src/gvimagepart/gvimagepart.desktop2
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