projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4b83eb2
)
src/Project/Gtk.vala
author
Alan Knowles
<alan@roojs.com>
Tue, 26 May 2015 06:17:07 +0000
(14:17 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 26 May 2015 06:17:07 +0000
(14:17 +0800)
src/Project/Gtk.vala
patch
|
blob
|
history
diff --git
a/src/Project/Gtk.vala
b/src/Project/Gtk.vala
index
722da71
..
b8c0745
100644
(file)
--- a/
src/Project/Gtk.vala
+++ b/
src/Project/Gtk.vala
@@
-183,7
+183,7
@@
namespace Project {
try {
var file_enum = dir.enumerate_children(
try {
var file_enum = dir.enumerate_children(
-
GLib.FileAttribute.STANDARD_DISPLAY_NAME
,
+
"standard::*"
,
GLib.FileQueryInfoFlags.NONE,
null
);
GLib.FileQueryInfoFlags.NONE,
null
);
@@
-198,7
+198,10
@@
namespace Project {
GLib.debug("SKIP %s not regular ", fn);
continue;
}
GLib.debug("SKIP %s not regular ", fn);
continue;
}
- GLib.debug("SCAN ADD %s : %s", fn, fn.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());
ret.add(in_path + "/" + fn);
// any other valid types???
ret.add(in_path + "/" + fn);
// any other valid types???