summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--caja/caja-engrampa.c1
-rw-r--r--data/engrampa.desktop.in.in2
-rw-r--r--engrampa.spec.in1
-rw-r--r--src/fr-command-7z.c1
-rw-r--r--src/main.c3
5 files changed, 7 insertions, 1 deletions
diff --git a/caja/caja-engrampa.c b/caja/caja-engrampa.c
index e45529c..68dcc28 100644
--- a/caja/caja-engrampa.c
+++ b/caja/caja-engrampa.c
@@ -173,6 +173,7 @@ static char *mime_types[] = {
"application/x-lzma-compressed-tar",
"application/x-lzop",
"application/x-lzop-compressed-tar",
+ "application/x-ms-wim",
"application/x-rar",
"application/x-rar-compressed",
"application/x-rpm",
diff --git a/data/engrampa.desktop.in.in b/data/engrampa.desktop.in.in
index 3d2029f..a19666a 100644
--- a/data/engrampa.desktop.in.in
+++ b/data/engrampa.desktop.in.in
@@ -9,7 +9,7 @@ Terminal=false
Type=Application
Icon=engrampa
Categories=GTK;Utility;Archiving;Compression;
-MimeType=application/x-7z-compressed;application/x-7z-compressed-tar;application/x-ace;application/x-alz;application/x-ar;application/x-archive;application/x-arj;application/x-bzip;application/x-bzip-compressed-tar;application/x-bzip1;application/x-bzip1-compressed-tar;application/x-cabinet;application/x-cbr;application/x-cbz;application/x-cd-image;application/x-compress;application/x-compressed-tar;application/x-cpio;application/x-deb;application/x-ear;application/x-ms-dos-executable;application/x-gtar;application/x-gzip;application/x-gzpostscript;application/x-java-archive;application/x-lha;application/x-lhz;application/x-lrzip;application/x-lrzip-compressed-tar;application/x-lzip;application/x-lzip-compressed-tar;application/x-lzma;application/x-lzma-compressed-tar;application/x-lzop;application/x-lzop-compressed-tar;application/x-rar;application/x-rar-compressed;application/x-rpm;application/x-rzip;application/x-tar;application/x-tarz;application/x-stuffit;application/x-war;application/x-xz;application/x-xz-compressed-tar;application/x-zip;application/x-zip-compressed;application/x-zoo;application/zip;
+MimeType=application/x-7z-compressed;application/x-7z-compressed-tar;application/x-ace;application/x-alz;application/x-ar;application/x-arj;application/x-bzip;application/x-bzip-compressed-tar;application/x-bzip1;application/x-bzip1-compressed-tar;application/x-cabinet;application/x-cbr;application/x-cbz;application/x-cd-image;application/x-compress;application/x-compressed-tar;application/x-cpio;application/x-deb;application/x-ear;application/x-ms-dos-executable;application/x-gtar;application/x-gzip;application/x-gzpostscript;application/x-java-archive;application/x-lha;application/x-lhz;application/x-lrzip;application/x-lrzip-compressed-tar;application/x-lzip;application/x-lzip-compressed-tar;application/x-lzma;application/x-lzma-compressed-tar;application/x-lzop;application/x-lzop-compressed-tar;application/x-ms-wim;application/x-rar;application/x-rar-compressed;application/x-rpm;application/x-rzip;application/x-tar;application/x-tarz;application/x-stuffit;application/x-war;application/x-xz;application/x-xz-compressed-tar;application/x-zip;application/x-zip-compressed;application/x-zoo;application/zip;
X-MATE-DocPath=engrampa/engrampa.xml
X-MATE-Bugzilla-Bugzilla=MATE
X-MATE-Bugzilla-Product=engrampa
diff --git a/engrampa.spec.in b/engrampa.spec.in
index 3cf2c95..af73fde 100644
--- a/engrampa.spec.in
+++ b/engrampa.spec.in
@@ -55,6 +55,7 @@ like tar and zip. The supported file types are :
* 7zip (.tar.7z)
* xz (.tar.xz)
* Stuffit Archives (.bin, .sit)
+ * Windows Imaging Format (.wim, .swm)
* ZIP Archive (.zip)
* ZIP Archived Comic Book (.cbz)
* ZOO Compressed Archive File (.zoo)
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" },