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:
b1d9186
)
src/Resources.vala
author
Alan Knowles
<alan@roojs.com>
Fri, 24 Apr 2015 08:32:09 +0000
(16:32 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 24 Apr 2015 08:32:09 +0000
(16:32 +0800)
src/Resources.vala
patch
|
blob
|
history
diff --git
a/src/Resources.vala
b/src/Resources.vala
index
6413610
..
2a19659
100644
(file)
--- a/
src/Resources.vala
+++ b/
src/Resources.vala
@@
-79,8
+79,14
@@
public class Resources : Object
}
public Resources ()
{
-
- string[] avail_files = {
+ this.initFiles();
+ }
+
+
+
+ }
+ void initFiles()
+ { string[] avail_files = {
"roodata.json",
"*",
"Editors/*.js"
@@
-102,16
+108,14
@@
public class Resources : Object
this.fetch_files.add(new ResourcesItem(src,target, ""));
}
-
-
-
- }
-
+
+ }
int fetch_pos = 0;
public void fetchStart()
{
+ this.initFiles();
if (this.fetch_pos > 0) { // only fetch one at a time...
return;
}