projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0916e6c
)
stop queeu building while on pause
author
Alan Knowles
<alan@akbkhome.com>
Sun, 18 Sep 2011 15:57:40 +0000
(23:57 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Sun, 18 Sep 2011 15:57:40 +0000
(23:57 +0800)
GitMonitor.js
patch
|
blob
|
history
diff --git
a/GitMonitor.js
b/GitMonitor.js
index
06f9912
..
5ab6e51
100644
(file)
--- a/
GitMonitor.js
+++ b/
GitMonitor.js
@@
-27,11
+27,13
@@
var GitMonitor = new Monitor({
pause : function() {
this.paused = true;
+ this.queue = [];
imports.StatusIcon.StatusIcon.el.set_from_stock( Gtk.STOCK_MEDIA_PAUSE );
},
resume : function() {
this.paused = false;
+ this.queue = [];
imports.StatusIcon.StatusIcon.el.set_from_stock( Gtk.STOCK_MEDIA_PLAY );