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:
bf4ebe7
)
src/Resources.vala
author
Alan Knowles
<alan@roojs.com>
Sun, 15 Mar 2015 04:30:38 +0000
(12:30 +0800)
committer
Alan Knowles
<alan@roojs.com>
Sun, 15 Mar 2015 04:30:38 +0000
(12:30 +0800)
src/Resources.vala
patch
|
blob
|
history
diff --git
a/src/Resources.vala
b/src/Resources.vala
index
57b2949
..
350eefc
100644
(file)
--- a/
src/Resources.vala
+++ b/
src/Resources.vala
@@
-23,8
+23,11
@@
public class Resources : Object
uint fetch_pos = 0;
public void fetchStart()
{
- this.fetch_pos =0;
- this.fetchNext();
+ if (this.fetch_pos > 0) { // only fetch one at a time...
+ return;
+ }
+ this.fetch_pos =0;
+ this.fetchNext();
}
public void fetchNext()