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:
c90a773
)
src/Resources.vala
author
Alan Knowles
<alan@roojs.com>
Tue, 17 Mar 2015 09:58:02 +0000
(17:58 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 17 Mar 2015 09:58:02 +0000
(17:58 +0800)
src/Resources.vala
patch
|
blob
|
history
diff --git
a/src/Resources.vala
b/src/Resources.vala
index
7571059
..
6913e46
100644
(file)
--- a/
src/Resources.vala
+++ b/
src/Resources.vala
@@
-138,11
+138,17
@@
public class Resources : Object
for (var i = 0; i < res.length; i++ ) {
-
-
- this.fetchResource(res[i], force);
+ if (!FileUtils.test(
+ Application.configDirectory() + "/resources/" + res[i],FileTest.EXISTS
+ )) {
+ needsload = true;
+ }
}
-
+ if (!needsload) {
+ return;
+ }
+ this.fetchStart();
+ }