summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-09-29 15:51:02 +0200
committerZenWalker <[email protected]>2019-09-30 10:56:43 +0200
commit815e4760c00be51bc41a16ef68ce62298723b59d (patch)
tree4d417a3412c614f61389df4a06e9185b79f7fb19 /src
parent53de23dc136eab7f7d04a61da044e04860fc82b2 (diff)
downloadengrampa-815e4760c00be51bc41a16ef68ce62298723b59d.tar.bz2
engrampa-815e4760c00be51bc41a16ef68ce62298723b59d.tar.xz
LHA: make compatible with content-type response from gio file query
gio returns "application/x-lha" in get_mime_type_from_content test: $ LANG=C gio info 1.lzh | grep content-type standard::content-type: application/x-lha standard::fast-content-type: application/x-lha
Diffstat (limited to 'src')
-rw-r--r--src/fr-command-lha.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fr-command-lha.c b/src/fr-command-lha.c
index 69f2d90..b34f886 100644
--- a/src/fr-command-lha.c
+++ b/src/fr-command-lha.c
@@ -309,7 +309,7 @@ fr_command_lha_extract (FrCommand *comm,
}
-const char *lha_mime_type[] = { "application/x-lzh-compressed", NULL };
+const char *lha_mime_type[] = { "application/x-lzh-compressed", "application/x-lha", NULL };
static const char **