[gnome-builder/wip/libide-merge] update file types
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/libide-merge] update file types
- Date: Sun, 22 Mar 2015 09:25:24 +0000 (UTC)
commit 45762a36ae841e5e37dc0ddccf1efffeacfe487d
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]