aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2022-01-25 05:16:07 +0100
committerPřemysl Eric Janouch <p@janouch.name>2022-01-25 05:16:31 +0100
commit381e5f57c76d978994b6cdeecc8f9a19717ed12b (patch)
tree11ae847d89e48cb5417355dade4fc56d01e64f16
parent788485d81eefcd43f0a66cf4cc664f8bde4423f5 (diff)
downloadfiv-381e5f57c76d978994b6cdeecc8f9a19717ed12b.tar.gz
fiv-381e5f57c76d978994b6cdeecc8f9a19717ed12b.tar.xz
fiv-381e5f57c76d978994b6cdeecc8f9a19717ed12b.zip
Add TGA to the list of supported media types
-rw-r--r--fiv-io.c1
-rw-r--r--fiv.desktop2
2 files changed, 2 insertions, 1 deletions
diff --git a/fiv-io.c b/fiv-io.c
index c6a22eb..1f384fb 100644
--- a/fiv-io.c
+++ b/fiv-io.c
@@ -91,6 +91,7 @@ const char *fiv_io_supported_media_types[] = {
"image/bmp",
"image/gif",
"image/png",
+ "image/x-tga",
"image/jpeg",
"image/webp",
#ifdef HAVE_LIBRAW
diff --git a/fiv.desktop b/fiv.desktop
index 315e281..0353b79 100644
--- a/fiv.desktop
+++ b/fiv.desktop
@@ -7,4 +7,4 @@ Exec=fiv -- %u
Terminal=false
StartupNotify=true
Categories=Graphics;2DGraphics;Viewer;
-MimeType=image/png;image/bmp;image/gif;image/jpeg;image/webp;
+MimeType=image/png;image/bmp;image/gif;image/x-tga;image/jpeg;image/webp;