X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=GitMonitor.vala;h=17dedfc4b088556a3a554729748265f8d7e6f8ce;hb=aa918439d9cb7113787b05154fa6d00154cbb8a8;hp=d6fd7361f7c7f2f119586da5058ed9718d9a56b0;hpb=40bf1f4bee21b09eedf5d8e2596ee0b72b234c45;p=gitlive diff --git a/GitMonitor.vala b/GitMonitor.vala index d6fd7361..17dedfc4 100644 --- a/GitMonitor.vala +++ b/GitMonitor.vala @@ -224,6 +224,17 @@ public class GitMonitor : Monitor if (this.paused || this.queue.size < 1 ) { return; } + + foreach(var q in this.queue) { + if (!q.shouldIgnore() && !q.repo.is_wip_branch()) { + NewBranch.singleton().show(q.repo); + return; + } + + } + + + GLib.debug("GitMonitor.runQueue\n"); this.queueRunning = true;