summaryrefslogtreecommitdiff
path: root/src/fr-init.c
diff options
context:
space:
mode:
authorVictor Kareh <[email protected]>2018-08-01 12:42:52 -0400
committerVictor Kareh <[email protected]>2018-08-01 12:42:52 -0400
commit10e665ff9b410553582f3764674fabe8d6a3e246 (patch)
tree00fd59082a4038d41640a421137be9bbd8f5df30 /src/fr-init.c
parent7c0038aac0f4fdfca4c940fbce9aad433d953c1e (diff)
downloadengrampa-10e665ff9b410553582f3764674fabe8d6a3e246.tar.bz2
engrampa-10e665ff9b410553582f3764674fabe8d6a3e246.tar.xz
Add support for OpenDocument formats
Diffstat (limited to 'src/fr-init.c')
-rw-r--r--src/fr-init.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/fr-init.c b/src/fr-init.c
index 6aed80d..751cdcd 100644
--- a/src/fr-init.c
+++ b/src/fr-init.c
@@ -70,6 +70,12 @@ FrMimeTypeDescription mime_type_desc[] = {
{ "application/x-bzip1", ".bz", NULL, 0 },
{ "application/x-bzip1-compressed-tar", ".tar.bz", N_("Tar compressed with bzip (.tar.bz)"), 0 },
{ "application/vnd.ms-cab-compressed", ".cab", N_("Cabinet (.cab)"), 0 },
+ { "application/vnd.oasis.opendocument.presentation", ".odp", N_("OpenDocument Presentation"), 0 },
+ { "application/vnd.oasis.opendocument.spreadsheet", ".ods", N_("OpenDocument Spreadsheet"), 0 },
+ { "application/vnd.oasis.opendocument.text", ".odt", N_("OpenDocument Text"), 0 },
+ { "application/vnd.oasis.opendocument.presentation-template", ".otp", N_("OpenDocument Presentation Template"), 0 },
+ { "application/vnd.oasis.opendocument.spreadsheet-template", ".ots", N_("OpenDocument Spreadsheet Template"), 0 },
+ { "application/vnd.oasis.opendocument.text-template", ".ott", N_("OpenDocument Text Template"), 0 },
{ "application/x-cbr", ".cbr", N_("Rar Archived Comic Book (.cbr)"), 0 },
{ "application/x-cbz", ".cbz", N_("Zip Archived Comic Book (.cbz)"), 0 },
{ "application/x-cd-image", ".iso", NULL, 0 },
@@ -131,6 +137,12 @@ FrExtensionType file_ext_type[] = {
{ ".lz", "application/x-lzip" },
{ ".lzma", "application/x-lzma" },
{ ".lzo", "application/x-lzop" },
+ { ".odp", "application/vnd.oasis.opendocument.presentation" },
+ { ".ods", "application/vnd.oasis.opendocument.spreadsheet" },
+ { ".odt", "application/vnd.oasis.opendocument.text" },
+ { ".otp", "application/vnd.oasis.opendocument.presentation-template" },
+ { ".ots", "application/vnd.oasis.opendocument.spreadsheet-template" },
+ { ".ott", "application/vnd.oasis.opendocument.text-template" },
{ ".rar", "application/x-rar" },
{ ".rpm", "application/x-rpm" },
{ ".rz", "application/x-rzip" },