summaryrefslogtreecommitdiff
path: root/libdocument/ev-document-factory.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdocument/ev-document-factory.c')
-rw-r--r--libdocument/ev-document-factory.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libdocument/ev-document-factory.c b/libdocument/ev-document-factory.c
index 4d5378f6..c77b8d04 100644
--- a/libdocument/ev-document-factory.c
+++ b/libdocument/ev-document-factory.c
@@ -99,6 +99,8 @@ get_compression_from_mime_type (const gchar *mime_type)
return EV_COMPRESSION_GZIP;
else if (g_ascii_strcasecmp (type, "bz") == 0)
return EV_COMPRESSION_BZIP2;
+ else if (g_ascii_strcasecmp (type, "xz") == 0)
+ return EV_COMPRESSION_LZMA;
}
return EV_COMPRESSION_NONE;