src/Project/Gtk.vala
authorAlan Knowles <alan@roojs.com>
Tue, 26 May 2015 06:17:47 +0000 (14:17 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 26 May 2015 06:17:47 +0000 (14:17 +0800)
src/Project/Gtk.vala

index b8c0745..769a960 100644 (file)
@@ -198,7 +198,7 @@ namespace Project {
                                                GLib.debug("SKIP %s not regular  ", fn);
                                                continue;
                                        }
-                                       if (Regex.match_simple("^text\/", next_file.get_content_type()) {
+                                       if (!Regex.match_simple("^text", next_file.get_content_type()) {
                                                continue;
                                        }
                                        GLib.debug("SCAN ADD %s : %s", fn, next_file.get_content_type());