src/Project/Gtk.vala
authorAlan Knowles <alan@roojs.com>
Tue, 26 May 2015 05:54:03 +0000 (13:54 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 26 May 2015 05:54:03 +0000 (13:54 +0800)
src/Project/Gtk.vala

index be08b76..9917fb7 100644 (file)
@@ -278,6 +278,9 @@ namespace Project {
                                        if (Regex.match_simple("~$", fn)) {
                                                continue;
                                        }
+                                       if (Regex.match_simple("^.", GLib.File.get_basename(fn))) {
+                                               continue;
+                                       }
                                        if (Regex.match_simple("\\.vala$", fn)) {
                                                var vv = (new Regex("\\.vala$")).replace( fn, fn.length, 0, ".bjs");
                                                if (allfiles.index_of( vv) > -1) {