[gnome-autoar] Revert "autoar-mime-types: update supported mime types with shared-mime-info"



commit 5c7f955b4c8531fc856cd4659e9721b971b624c5
Author: Carlos Soriano <csoriano gnome org>
Date:   Tue Mar 21 13:01:21 2017 +0100

    Revert "autoar-mime-types: update supported mime types with shared-mime-info"
    
    This reverts commit 4cda32a73314a68ea278fe15107c8d85fc4d1f7c.
    
    It gives more problems than it solves. For example docx is a subtype of zip,
    which makes autoar report it as supported, when it's not.
    
    So it's better to use the subtypes that autoar supports directly.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=780214

 gnome-autoar/autoar-mime-types.c |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/gnome-autoar/autoar-mime-types.c b/gnome-autoar/autoar-mime-types.c
index 9c8c46f..9eb5c24 100644
--- a/gnome-autoar/autoar-mime-types.c
+++ b/gnome-autoar/autoar-mime-types.c
@@ -25,18 +25,26 @@
 
 static gchar *supported_mime_types[] = {
   "application/x-7z-compressed",
+  "application/x-7z-compressed-tar",
   "application/x-bzip",
+  "application/x-bzip-compressed-tar",
   "application/x-compress",
+  "application/x-compressed-tar",
   "application/x-cpio",
-  "application/gzip",
+  "application/x-gzip",
   "application/x-lha",
   "application/x-lzip",
+  "application/x-lzip-compressed-tar",
   "application/x-lzma",
+  "application/x-lzma-compressed-tar",
   "application/x-tar",
+  "application/x-tarz",
   "application/x-xar",
   "application/x-xz",
+  "application/x-xz-compressed-tar",
   "application/zip",
   "application/gzip",
+  "application/bzip2",
   NULL
 };
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]