summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Kent Hajnal <software@alephnull.net>2024-05-20 09:26:08 -0400
committerSlávek Banko <slavek.banko@axis.cz>2024-05-21 19:17:25 +0200
commit533b026452a8930a566724fff456334fd6021c0a (patch)
tree757aaff1222185e59632145a50a636b3aa51b37b
parent8414af176d732dfb8a2f93809f4361295bbfbdcb (diff)
downloadtdelibs-533b026452a8930a566724fff456334fd6021c0a.tar.gz
tdelibs-533b026452a8930a566724fff456334fd6021c0a.zip
Added mimetypes/image/webp.desktop
Signed-off-by: Alex Kent Hajnal <software@alephnull.net> (cherry picked from commit c4ddac313753f6143eb0573d456beb79fd9049ac)
-rw-r--r--mimetypes/image/CMakeLists.txt2
-rw-r--r--mimetypes/image/webp.desktop6
2 files changed, 7 insertions, 1 deletions
diff --git a/mimetypes/image/CMakeLists.txt b/mimetypes/image/CMakeLists.txt
index 0c4d13a38..f7184c745 100644
--- a/mimetypes/image/CMakeLists.txt
+++ b/mimetypes/image/CMakeLists.txt
@@ -22,7 +22,7 @@ tde_create_translated_desktop(
x-vnd.trolltech.qpicture.desktop x-vnd.adobe.photoshop.desktop
x-xcursor.desktop pjpeg.desktop x-exr.desktop
x-rgb.desktop x-dds.desktop x-djvu.desktop x-djvu-2.desktop x-hdr.desktop
- fits.desktop x-raw.desktop
+ fits.desktop x-raw.desktop webp.desktop
DESTINATION ${MIME_INSTALL_DIR}/image
PO_DIR mimetypes
)
diff --git a/mimetypes/image/webp.desktop b/mimetypes/image/webp.desktop
new file mode 100644
index 000000000..667433bd7
--- /dev/null
+++ b/mimetypes/image/webp.desktop
@@ -0,0 +1,6 @@
+[Desktop Entry]
+Type=MimeType
+MimeType=image/webp
+Icon=image-x-generic
+Patterns=*.webp;*.WEBP;
+Comment=WebP Image