[gnome-builder] workbench: teach workbench about application/x-php



commit 5808a3f411e7df5de0f345b88c39472341413893
Author: Elad Alfassa <elad fedoraproject org>
Date:   Sun Apr 12 11:33:56 2015 +0300

    workbench: teach workbench about application/x-php
    
    Builder supports setting the langauge mode to PHP, so it makes sense
    for it to be able to open PHP files

 src/workbench/gb-workbench.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/workbench/gb-workbench.c b/src/workbench/gb-workbench.c
index be1db7d..669e8f3 100644
--- a/src/workbench/gb-workbench.c
+++ b/src/workbench/gb-workbench.c
@@ -585,6 +585,7 @@ supports_content_type (const gchar *content_type)
           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-php") ||
           g_str_equal (content_type, "application/x-ruby") ||
           g_str_equal (content_type, "application/x-shellscript") ||
           g_str_equal (content_type, "application/xml"));


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