Skip to content
Permalink
Browse files

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.
  • Loading branch information...
eli-schwartz authored and sc0w committed Dec 19, 2018
1 parent 3c75360 commit 1b951620b1f382d9ed1875ebb8c53c55257391bd
Showing with 2 additions and 2 deletions.
  1. +1 −1 backend/comics/comicsdocument.atril-backend.in
  2. +1 −1 configure.ac
@@ -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;
@@ -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/*;"

0 comments on commit 1b95162

Please sign in to comment.
You can’t perform that action at this time.