summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/evbp-mime.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/evbp-mime.c b/src/evbp-mime.c
index cad4eec..628862e 100644
--- a/src/evbp-mime.c
+++ b/src/evbp-mime.c
@@ -31,24 +31,36 @@ static const struct {
const gchar *exts;
} mime_suffix[] = {
{ "application/postscript", "ps" },
+ { "application/x-ext-ps", "ps" },
{ "application/x-bzpostscript", "ps.bz2" },
{ "application/x-gzpostscript", "ps.gz" },
{ "image/x-eps", "eps,epsi,epsf" },
+ { "application/x-ext-eps", "eps,epsi,epsf" },
{ "image/x-bzeps", "eps.bz2,epsi.bz2,epsf.bz2" },
{ "image/x-gzeps", "eps.gz,epsi.gz,epsf.gz" },
{ "image/tiff", "tif,tiff" },
{ "application/pdf", "pdf" },
+ { "application/x-ext-pdf", "pdf" },
{ "application/x-bzpdf", "pdf.bz2" },
{ "application/x-gzpdf", "pdf.gz" },
- { "application/x-ext-pdf", "pdf" },
+ { "application/x-xzpdf", "pdf.xz" },
{ "application/x-dvi", "dvi" },
+ { "application/x-ext-dvi", "dvi" },
{ "application/x-bzdvi", "dvi.bz2" },
{ "application/x-gzdvi", "dvi.gz" },
{ "application/x-cbr", "cbr" },
+ { "application/x-ext-cbr", "cbr" },
{ "application/x-cbz", "cbz" },
+ { "application/x-ext-cbz", "cbz" },
{ "application/x-cb7", "cb7" },
+ { "application/x-ext-cb7", "cb7" },
{ "application/x-cbt", "cbt" },
+ { "application/x-ext-cbt", "cbt" },
{ "image/vnd.djvu", "djvu,djv" },
+ { "application/x-ext-djv", "djv" },
+ { "application/x-ext-djvu", "djvu" },
+ { "application/oxps", "xps,oxps" },
+ { "application/vnd.ms-xpsdocument", "xps,oxps" },
};
static const int n_mime_suffix = sizeof(mime_suffix) / sizeof(mime_suffix[0]);