[gnome-builder] update file types



commit f8b814980872c57a4eb70aa96cbc692e509695e3
Author: Christian Hergert <christian hergert me>
Date:   Sun Mar 22 00:12:05 2015 -0700

    update file types

 src/workbench/gb-workbench.c |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/src/workbench/gb-workbench.c b/src/workbench/gb-workbench.c
index 7ffc058..2b987bf 100644
--- a/src/workbench/gb-workbench.c
+++ b/src/workbench/gb-workbench.c
@@ -481,11 +481,16 @@ static gboolean
 supports_content_type (const gchar *content_type)
 {
   return (g_str_has_prefix (content_type, "text/") ||
-          g_str_equal (content_type, "application/x-ruby") ||
-          g_str_equal (content_type, "application/xml") ||
-          g_str_equal (content_type, "application/x-ruby") ||
           g_str_equal (content_type, "application/javascript") ||
-          g_str_equal (content_type, "application/x-gtk-builder"));
+          g_str_equal (content_type, "application/x-desktop") ||
+          g_str_equal (content_type, "application/x-gettext-translation") ||
+          g_str_equal (content_type, "application/x-gtk-builder") ||
+          g_str_equal (content_type, "application/x-m4") ||
+          g_str_equal (content_type, "application/x-pak") ||
+          g_str_equal (content_type, "application/x-perl") ||
+          g_str_equal (content_type, "application/x-ruby") ||
+          g_str_equal (content_type, "application/x-shellscript") ||
+          g_str_equal (content_type, "application/xml"));
 }
 
 static void


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