projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ec8572
)
gitlive.js
author
Alan Knowles
<alan@wideboy.(none)>
Wed, 28 Apr 2010 14:49:25 +0000
(22:49 +0800)
committer
Alan Knowles
<alan@wideboy.(none)>
Wed, 28 Apr 2010 14:49:25 +0000
(22:49 +0800)
gitlive.js
patch
|
blob
|
history
diff --git
a/gitlive.js
b/gitlive.js
index
fbc5bdb
..
7fc0f6f
100644
(file)
--- a/
gitlive.js
+++ b/
gitlive.js
@@
-45,9
+45,15
@@
var monitor = new Monitor({
start: function() {
var _this = this;
this.lastAdd = new Date();
+
Glib.idle_add(PRIORITY_LOW, function() {
+ if (!_this.queue.length) {
+ return o;
+ }
+ Math.floor(((new Date()) - this.lastAdd) / 100)
_this.runQueue();
},null,null);
+
Monitor.prototype.start.call(this);
var notification = new Notify.Notification({
summary: "Git Live",