summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2013-10-28 21:03:26 +0100
committerraveit65 <[email protected]>2013-10-28 21:03:26 +0100
commit5ef1b4801e7365b4cbf53c6ee829259dde32b5ee (patch)
tree2ec99bfe8bde50bd4c17c78404d797611aeda1d8 /src
parentb28ae6fe841663d7cfc96908172c4adecd1dd3c6 (diff)
downloadengrampa-5ef1b4801e7365b4cbf53c6ee829259dde32b5ee.tar.bz2
engrampa-5ef1b4801e7365b4cbf53c6ee829259dde32b5ee.tar.xz
adds Windows Imaging Format (.wim, .swm) support
Diffstat (limited to 'src')
-rw-r--r--src/fr-command-7z.c1
-rw-r--r--src/main.c3
2 files changed, 4 insertions, 0 deletions
diff --git a/src/fr-command-7z.c b/src/fr-command-7z.c
index 9909271..b61868b 100644
--- a/src/fr-command-7z.c
+++ b/src/fr-command-7z.c
@@ -526,6 +526,7 @@ const char *sevenz_mime_types[] = { "application/x-7z-compressed",
/*"application/x-cbr",*/
"application/x-cbz",
"application/x-ms-dos-executable",
+ "application/x-ms-wim",
"application/x-rar",
"application/zip",
NULL };
diff --git a/src/main.c b/src/main.c
index bbcaa31..fed73bb 100644
--- a/src/main.c
+++ b/src/main.c
@@ -113,6 +113,7 @@ FrMimeTypeDescription mime_type_desc[] = {
{ "application/x-lzma-compressed-tar", ".tar.lzma", N_("Tar compressed with lzma (.tar.lzma)"), 0 },
{ "application/x-lzop", ".lzo", NULL, 0 },
{ "application/x-lzop-compressed-tar", ".tar.lzo", N_("Tar compressed with lzop (.tar.lzo)"), 0 },
+ { "application/x-ms-wim", ".wim", N_("Windows Imaging Format (.wim)"), 0 },
{ "application/x-rar", ".rar", N_("Rar (.rar)"), 0 },
{ "application/x-rpm", ".rpm", NULL, 0 },
{ "application/x-rzip", ".rz", NULL, 0 },
@@ -156,6 +157,7 @@ FrExtensionType file_ext_type[] = {
{ ".rpm", "application/x-rpm" },
{ ".rz", "application/x-rzip" },
{ ".sit", "application/x-stuffit" },
+ { ".swm", "application/x-ms-wim" },
{ ".tar", "application/x-tar" },
{ ".tar.bz", "application/x-bzip-compressed-tar" },
{ ".tar.bz2", "application/x-bzip-compressed-tar" },
@@ -176,6 +178,7 @@ FrExtensionType file_ext_type[] = {
{ ".tzma", "application/x-lzma-compressed-tar" },
{ ".tzo", "application/x-lzop-compressed-tar" },
{ ".war", "application/x-war" },
+ { ".wim", "application/x-ms-wim" },
{ ".xz", "application/x-xz" },
{ ".z", "application/x-gzip" },
{ ".Z", "application/x-compress" },