[epiphany] MHTML files should be displayed in the file chooser



commit 1ea2679490067e573b93b985515ffefd92c4014c
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Tue Feb 3 14:18:45 2015 -0600

    MHTML files should be displayed in the file chooser
    
    Whatever determines MIME types on GNOME is picking
    application/x-mimearchive for MHTML. Sync our recognized MIME types with
    the desktop file.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=743664

 lib/ephy-file-chooser.c |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/lib/ephy-file-chooser.c b/lib/ephy-file-chooser.c
index 254b151..8d6ab37 100644
--- a/lib/ephy-file-chooser.c
+++ b/lib/ephy-file-chooser.c
@@ -210,7 +210,9 @@ ephy_file_chooser_new (const char *title,
                                 "text/html",
                                 "application/xhtml+xml",
                                 "text/xml",
-                                 "message/rfc822", /* MHTML */
+                                "message/rfc822",            /* MHTML */
+                                "multipart/related",         /* MHTML */
+                                "application/x-mimearchive", /* MHTML */
                                 "image/png",
                                 "image/jpeg",
                                 "image/gif",
@@ -222,7 +224,9 @@ ephy_file_chooser_new (const char *title,
                                 "text/html",
                                 "application/xhtml+xml",
                                 "text/xml",
-                                 "message/rfc822", /* MHTML */
+                                "message/rfc822",            /* MHTML */
+                                "multipart/related",         /* MHTML */
+                                "application/x-mimearchive", /* MHTML */
                                 NULL);
 
                filter[EPHY_FILE_FILTER_IMAGES] =


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