ajwillia-ms pushed a commit to branch master.

http://git.enlightenment.org/tools/edi.git/commit/?id=ada1529dce4ca6bf0cc6a378407c8474c745c4cb

commit ada1529dce4ca6bf0cc6a378407c8474c745c4cb
Author: Andy Williams <a...@andywilliams.me>
Date:   Fri Jan 23 23:31:28 2015 +0000

    Let's open .eo files too
---
 src/bin/edi_content_provider.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/bin/edi_content_provider.c b/src/bin/edi_content_provider.c
index 38e5bdc..fdf5958 100644
--- a/src/bin/edi_content_provider.c
+++ b/src/bin/edi_content_provider.c
@@ -60,7 +60,8 @@ EAPI Edi_Content_Provider 
*edi_content_provider_for_mime_get(const char *mime)
 
    if (!strcasecmp(mime, "text/plain") || !strcasecmp(mime, 
"application/x-shellscript"))
      id = "text";
-   else if (!strcasecmp(mime, "text/x-chdr") || !strcasecmp(mime, 
"text/x-csrc"))
+   else if (!strcasecmp(mime, "text/x-chdr") || !strcasecmp(mime, 
"text/x-csrc")
+            || !strcasecmp(mime, "text/x-modelica"))
      id = "text"; // TODO make a code view
    else if (!strncasecmp(mime, "image/", 6))
      id = "image";

-- 


Reply via email to