[evince] Add fallback mimetypes
- From: Jan-Joost Spanjers <jspanjers src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] Add fallback mimetypes
- Date: Thu, 15 Dec 2011 18:51:19 +0000 (UTC)
commit 55391392815d086f7a96a812b2af765cc498498f
Author: Hib Eris <hib hiberis nl>
Date: Mon Sep 26 12:10:45 2011 +0200
Add fallback mimetypes
(On Windows) gio might fail to find the correct mime type for file
extensions and return x-ext-<type> as the mime type.
backend/comics/comicsdocument.evince-backend.in | 2 +-
backend/djvu/djvudocument.evince-backend.in | 2 +-
backend/dvi/dvidocument.evince-backend.in | 2 +-
backend/ps/psdocument.evince-backend.in | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/backend/comics/comicsdocument.evince-backend.in b/backend/comics/comicsdocument.evince-backend.in
index 90d4c01..4ab216e 100644
--- a/backend/comics/comicsdocument.evince-backend.in
+++ b/backend/comics/comicsdocument.evince-backend.in
@@ -1,4 +1,4 @@
[Evince Backend]
Module=comicsdocument
_TypeDescription=Comic Books
-MimeType=application/x-cbr;application/x-cbz;application/x-cb7;application/x-cbt;
+MimeType=application/x-cbr;application/x-cbz;application/x-cb7;application/x-cbt;application/x-ext-cbr;application/x-ext-cbz;application/x-ext-cb7;application/x-ext-cbt;
diff --git a/backend/djvu/djvudocument.evince-backend.in b/backend/djvu/djvudocument.evince-backend.in
index 485af11..55affe5 100644
--- a/backend/djvu/djvudocument.evince-backend.in
+++ b/backend/djvu/djvudocument.evince-backend.in
@@ -1,4 +1,4 @@
[Evince Backend]
Module=djvudocument
_TypeDescription=DjVu Documents
-MimeType=image/vnd.djvu
+MimeType=image/vnd.djvu;application/x-ext-djv;application/x-ext-djvu;
diff --git a/backend/dvi/dvidocument.evince-backend.in b/backend/dvi/dvidocument.evince-backend.in
index cb5fe6e..d0288a6 100644
--- a/backend/dvi/dvidocument.evince-backend.in
+++ b/backend/dvi/dvidocument.evince-backend.in
@@ -1,4 +1,4 @@
[Evince Backend]
Module=dvidocument
_TypeDescription=DVI Documents
-MimeType=application/x-dvi;application/x-bzdvi;application/x-gzdvi
+MimeType=application/x-dvi;application/x-bzdvi;application/x-gzdvi;application/x-ext-dvi;
diff --git a/backend/ps/psdocument.evince-backend.in b/backend/ps/psdocument.evince-backend.in
index af24be6..79d924d 100644
--- a/backend/ps/psdocument.evince-backend.in
+++ b/backend/ps/psdocument.evince-backend.in
@@ -2,4 +2,4 @@
Module=psdocument
Resident=true
_TypeDescription=PostScript Documents
-MimeType=application/postscript;application/x-bzpostscript;application/x-gzpostscript;image/x-eps;image/x-bzeps;image/x-gzeps
+MimeType=application/postscript;application/x-bzpostscript;application/x-gzpostscript;image/x-eps;image/x-bzeps;image/x-gzeps;application/x-ext-ps;application/x-ext-eps;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]