summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2018-11-05 21:21:37 +0100
committerPablo Barciela <[email protected]>2018-11-13 11:28:26 +0100
commit413f6ccdfc9db844033f1d1e5e205052eb3fd44b (patch)
tree159b6597e90ac7f82bf00221415717254bcaffc1
parent91d5b0f695948b84d67ff3c0a2e6cedd010cac76 (diff)
downloadatril-413f6ccdfc9db844033f1d1e5e205052eb3fd44b.tar.bz2
atril-413f6ccdfc9db844033f1d1e5e205052eb3fd44b.tar.xz
comics: support application/vnd.rar MIME type
Fixes https://github.com/mate-desktop/atril/issues/341
-rw-r--r--backend/comics/comicsdocument.atril-backend.in2
-rw-r--r--configure.ac2
2 files changed, 2 insertions, 2 deletions
diff --git a/backend/comics/comicsdocument.atril-backend.in b/backend/comics/comicsdocument.atril-backend.in
index ba43b726..75f91e0c 100644
--- a/backend/comics/comicsdocument.atril-backend.in
+++ b/backend/comics/comicsdocument.atril-backend.in
@@ -1,4 +1,4 @@
[Atril Backend]
Module=comicsdocument
_TypeDescription=Comic Books
-MimeType=application/x-cbr;application/x-cbz;application/x-cb7;application/x-cbt;application/vnd.comicbook+zip;
+MimeType=application/x-cbr;application/x-cbz;application/x-cb7;application/x-cbt;application/vnd.comicbook+zip;application/vnd.rar;
diff --git a/configure.ac b/configure.ac
index 8b18aa70..85eb41db 100644
--- a/configure.ac
+++ b/configure.ac
@@ -639,7 +639,7 @@ if test "x$enable_tiff" = "xyes"; then
ATRIL_MIME_TYPES="${ATRIL_MIME_TYPES}image/tiff;"
fi
if test "x$enable_comics" = "xyes"; then
- ATRIL_MIME_TYPES="${ATRIL_MIME_TYPES}application/x-cbr;application/x-cbz;application/x-cb7;application/x-cbt;application/vnd.comicbook+zip;"
+ ATRIL_MIME_TYPES="${ATRIL_MIME_TYPES}application/x-cbr;application/x-cbz;application/x-cb7;application/x-cbt;application/vnd.comicbook+zip;application/vnd.rar;"
fi
if test "x$enable_pixbuf" = "xyes"; then
ATRIL_MIME_TYPES="${ATRIL_MIME_TYPES}image/*;"