summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-12-09 16:07:00 +0100
committerinfirit <[email protected]>2014-12-09 23:02:28 +0100
commit05c34fac905e8e10fb94e61373f2c33396651880 (patch)
treea0d7ba77f561950a7110a9974c7b66b2c4ac38bf
parent30a41d9c9cb55687675d00b98835a5b54c120b43 (diff)
downloadatril-05c34fac905e8e10fb94e61373f2c33396651880.tar.bz2
atril-05c34fac905e8e10fb94e61373f2c33396651880.tar.xz
pdf: Support .pdf.xz files
Taken from evince commit: d68a55580d2e63c0587b11580dfde219d5ef56fb From: Christian Persch <[email protected]>
-rw-r--r--backend/pdf/pdfdocument.atril-backend.in3
-rw-r--r--configure.ac2
2 files changed, 2 insertions, 3 deletions
diff --git a/backend/pdf/pdfdocument.atril-backend.in b/backend/pdf/pdfdocument.atril-backend.in
index 66ee2b93..017b585d 100644
--- a/backend/pdf/pdfdocument.atril-backend.in
+++ b/backend/pdf/pdfdocument.atril-backend.in
@@ -2,5 +2,4 @@
Module=pdfdocument
Resident=true
_TypeDescription=PDF Documents
-MimeType=application/pdf;application/x-bzpdf;application/x-gzpdf;application/x-ext-pdf
-
+MimeType=application/pdf;application/x-bzpdf;application/x-gzpdf;application/x-xzpdf;application/x-ext-pdf;
diff --git a/configure.ac b/configure.ac
index 871248aa..0cd8df6f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -730,7 +730,7 @@ dnl ================== End of EPUB checks ======================================
dnl =================== Mime types list ====================================================
if test "x$enable_pdf" = "xyes" ; then
- ATRIL_MIME_TYPES="application/pdf;application/x-bzpdf;application/x-gzpdf;"
+ ATRIL_MIME_TYPES="application/pdf;application/x-bzpdf;application/x-gzpdf;application/x-xzpdf;"
fi
if test "x$enable_ps" = "xyes" ; then
ATRIL_MIME_TYPES="${ATRIL_MIME_TYPES}application/postscript;application/x-bzpostscript;application/x-gzpostscript;image/x-eps;image/x-bzeps;image/x-gzeps;"