X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=NewBranch.vala;h=e65ba333437f03a15e921e9d2482ad731eb78543;hb=a0ec8a45c3f658481ca0862e52c737efbc6bd79f;hp=6866b45adec0d4bf4868b82fc5b928ca95933701;hpb=4dd3e0b44d03390b86be8cd0919786dd77f9abf1;p=gitlive diff --git a/NewBranch.vala b/NewBranch.vala index 6866b45a..e65ba333 100644 --- a/NewBranch.vala +++ b/NewBranch.vala @@ -51,7 +51,26 @@ public class NewBranch : Object }); this.el.response.connect( (self, response_id) => { - GLib.debug("got %d", (int) response_id); + GLib.debug("got %d", (int) response_id); + if (response_id == 0) { + _this.el.hide(); + return; + } + // have they selected a ticket.. + // make that the current active ticket? + // we really need to store locally what ticket is being worked on.. + // in theory we could be working on multiple project and not merging.. + // -- each repo would have their active ticket (only one per repo) + // -- so we could just store that in there + // -- initial load can check the contents of the ticket files on first scan. + + + + + + + + }); this.el.show.connect( (self) => {