summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2018-06-03 21:27:19 +0200
committerPablo Barciela <[email protected]>2018-06-03 21:31:45 +0200
commit499e600d758578eeb8187f92d0c12b36e50f7595 (patch)
treec071935fa4927a5c21614e50adb46862e9cf1a0b
parentef714ac8eb7581e50a42f40eb484ad3adc4a5f66 (diff)
downloadengrampa-499e600d758578eeb8187f92d0c12b36e50f7595.tar.bz2
engrampa-499e600d758578eeb8187f92d0c12b36e50f7595.tar.xz
Add .a (Ar) support
Fixes https://github.com/mate-desktop/engrampa/issues/198#issuecomment-394156805
-rw-r--r--src/fr-init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fr-init.c b/src/fr-init.c
index 8a81786..6aed80d 100644
--- a/src/fr-init.c
+++ b/src/fr-init.c
@@ -62,6 +62,7 @@ FrMimeTypeDescription mime_type_desc[] = {
{ "application/x-7z-compressed-tar", ".tar.7z", N_("Tar compressed with 7z (.tar.7z)"), 0 },
{ "application/x-ace", ".ace", N_("Ace (.ace)"), 0 },
{ "application/x-alz", ".alz", NULL, 0 },
+ { "application/x-ar", ".a", N_("Ar (.a)"), 0 },
{ "application/x-ar", ".ar", N_("Ar (.ar)"), 0 },
{ "application/x-arj", ".arj", N_("Arj (.arj)"), 0 },
{ "application/x-bzip", ".bz2", NULL, 0 },
@@ -108,6 +109,7 @@ FrExtensionType file_ext_type[] = {
{ ".7z", "application/x-7z-compressed" },
{ ".ace", "application/x-ace" },
{ ".alz", "application/x-alz" },
+ { ".a", "application/x-ar" },
{ ".ar", "application/x-ar" },
{ ".arj", "application/x-arj" },
{ ".bin", "application/x-stuffit" },