summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-10-31 10:56:47 +0300
committermonsta <[email protected]>2016-10-31 10:56:47 +0300
commitd978575ee6e7e3f6b9aab4cb669d4aa34ecbb703 (patch)
treee70c1c8ae0873ec512f017cec3bb92d2d6806630
parent24f606e57c40b2ce816c64594c61ac3e6feac27d (diff)
downloadatril-d978575ee6e7e3f6b9aab4cb669d4aa34ecbb703.tar.bz2
atril-d978575ee6e7e3f6b9aab4cb669d4aa34ecbb703.tar.xz
djvu: support image/vnd.djvu+multipage MIME type
more info at: https://git.gnome.org/browse/evince/commit/?id=7850b986cf3225369170cdec545844b025bfd12e
-rw-r--r--backend/djvu/djvudocument.atril-backend.in2
-rw-r--r--configure.ac2
2 files changed, 2 insertions, 2 deletions
diff --git a/backend/djvu/djvudocument.atril-backend.in b/backend/djvu/djvudocument.atril-backend.in
index 8cbf749a..9f97925e 100644
--- a/backend/djvu/djvudocument.atril-backend.in
+++ b/backend/djvu/djvudocument.atril-backend.in
@@ -1,4 +1,4 @@
[Atril Backend]
Module=djvudocument
_TypeDescription=DjVu Documents
-MimeType=image/vnd.djvu
+MimeType=image/vnd.djvu;image/vnd.djvu+multipage
diff --git a/configure.ac b/configure.ac
index 07dcc196..22437e31 100644
--- a/configure.ac
+++ b/configure.ac
@@ -619,7 +619,7 @@ if test "x$enable_dvi" = "xyes"; then
ATRIL_MIME_TYPES="${ATRIL_MIME_TYPES}application/x-dvi;application/x-bzdvi;application/x-gzdvi;"
fi
if test "x$enable_djvu" = "xyes"; then
- ATRIL_MIME_TYPES="${ATRIL_MIME_TYPES}image/vnd.djvu;"
+ ATRIL_MIME_TYPES="${ATRIL_MIME_TYPES}image/vnd.djvu;image/vnd.djvu+multipage;"
fi
if test "x$enable_tiff" = "xyes"; then
ATRIL_MIME_TYPES="${ATRIL_MIME_TYPES}image/tiff;"