this.remove(m);
}
foreach(var r in GitRepo.singleton().cache.values ) {
- GLib.debug("checking %s for branch = %s", r.name, r.activeBranch.name);
+ GLib.debug("checking %s for branch = %s", r.name, r.currentBranch.name);
if (!r.is_wip_branch()) {
continue;
}
continue;
}
var mi = new MergeMenuItem(r,t);
- this.insert (mi,4); //backwards..
+ this.insert (mi,4); //backwards.
+ this.merge_items.add(mi);
}
}
-
+
class MergeMenuItem : Gtk.MenuItem {
GitRepo repo;
this.label = ("Merge [%s] #%s %s".printf(r.name, t.id , t.summary));
this.activate.connect(() => {
+ MergeBranch.singleton().show(this.ticket, null);
// show merge dialog..
});
this.accel_group = null;
this.activate.connect( () => {
- Clones.singleton().show();
+ GitRepo.updateAll("show_clones");
+
+ // Clones.singleton().show();
});
}