summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <[email protected]>2018-12-19 13:30:39 -0500
committerZenWalker <[email protected]>2018-12-20 15:35:25 +0100
commit1b951620b1f382d9ed1875ebb8c53c55257391bd (patch)
tree2a3a106e5f8f64d5cd3b5ee8917e73c32364f440
parent3c753602e3a898734c27877d91b62892fd668a1e (diff)
downloadatril-1b951620b1f382d9ed1875ebb8c53c55257391bd.tar.bz2
atril-1b951620b1f382d9ed1875ebb8c53c55257391bd.tar.xz
comics: fix incorrect mimetype saying to open and thumbnail all rarfiles
application/vnd.rar is for files with the .rar extension, application/vnd.comicbook-rar is the subtype for files with the .cbr extension.
-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 75f91e0c..a99486b2 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;application/vnd.rar;
+MimeType=application/x-cbr;application/x-cbz;application/x-cb7;application/x-cbt;application/vnd.comicbook+zip;application/vnd.comicbook-rar;
diff --git a/configure.ac b/configure.ac
index dde52800..271162d8 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;application/vnd.rar;"
+ ATRIL_MIME_TYPES="${ATRIL_MIME_TYPES}application/x-cbr;application/x-cbz;application/x-cb7;application/x-cbt;application/vnd.comicbook+zip;application/vnd-comicbook.rar;"
fi
if test "x$enable_pixbuf" = "xyes"; then
ATRIL_MIME_TYPES="${ATRIL_MIME_TYPES}image/*;"