[nautilus: 1/3] mime-actions: Add Microsoft mime types



commit ce7247635a70b865275d89a13dd3cbcedfb068c5
Author: Carlos Soriano <csoriano gnome org>
Date:   Tue Nov 21 15:30:31 2017 +0100

    mime-actions: Add Microsoft mime types
    
    Seems they are using some custom mime types for Microsoft Office.
    They can be found at 
https://blogs.msdn.microsoft.com/vsofficedeveloper/2008/05/08/office-2007-file-format-mime-types-for-http-content-streaming-2/
    
    This commits adds them.
    
    Fixes #128

 src/nautilus-mime-actions.c | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/src/nautilus-mime-actions.c b/src/nautilus-mime-actions.c
index 18066d617..350ed1eb8 100644
--- a/src/nautilus-mime-actions.c
+++ b/src/nautilus-mime-actions.c
@@ -92,6 +92,7 @@ typedef struct
     GQueue *unhandled_uris;
 } ApplicationLaunchParameters;
 
+/* Microsoft mime types at 
https://blogs.msdn.microsoft.com/vsofficedeveloper/2008/05/08/office-2007-file-format-mime-types-for-http-content-streaming-2/
 */
 struct
 {
     char *name;
@@ -128,6 +129,7 @@ struct
         "application/x-kword",
         "application/x-kword-crypt",
         "application/x-lyx",
+        "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
         NULL}},
     { N_("Illustration"),
       { "application/illustrator",
@@ -184,6 +186,7 @@ struct
         "application/vnd.oasis.opendocument.presentation",
         "application/x-magicpoint",
         "application/x-kpresenter",
+        "application/vnd.openxmlformats-officedocument.presentationml.presentation",
         NULL}},
     { N_("Spreadsheet"),
       { "application/vnd.lotus-1-2-3",
@@ -198,6 +201,7 @@ struct
         "application/x-quattropro",
         "application/x-sc",
         "application/x-siag",
+        "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
         NULL}},
     { N_("Text File"),
       { "text/plain",


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