summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2013-01-19 11:17:10 -0800
committerDan Nicholson <dbn.lists@gmail.com>2013-01-19 16:05:18 -0800
commit762321938dae008235d36e2e3b733f9698faa0ba (patch)
treede8236dba225c6c39158bed14839acb0693e1af3 /src
parent0524921799bfa2784bec3fbd5b29e77e2ed66b56 (diff)
mime: Add a bunch more types from newer evince
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]);