summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2018-11-05 21:21:37 +0100
committerZenWalker <[email protected]>2018-11-07 15:29:57 +0100
commit7d9dab7c0f5f233fca37b6d82b9a30db51558c34 (patch)
tree10ab51a5055a65b13e88db33f070e85bd3cb5507
parent699ce127f8f18007d2894da87c81a31727b0a5cf (diff)
downloadatril-7d9dab7c0f5f233fca37b6d82b9a30db51558c34.tar.bz2
atril-7d9dab7c0f5f233fca37b6d82b9a30db51558c34.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 2dd3a65b..d279e61f 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/*;"