X-Git-Url: http://git.roojs.org/?p=gitlive;a=blobdiff_plain;f=NewBranch.vala;h=e65ba333437f03a15e921e9d2482ad731eb78543;hp=13e34ec948d2d7100467451ed78d7b3e3e2d66ad;hb=a0ec8a45c3f658481ca0862e52c737efbc6bd79f;hpb=fdb9c0a88dcdf59110aa8f1d5a3589a1b77fe38a diff --git a/NewBranch.vala b/NewBranch.vala index 13e34ec9..e65ba333 100644 --- a/NewBranch.vala +++ b/NewBranch.vala @@ -51,8 +51,25 @@ public class NewBranch : Object }); this.el.response.connect( (self, response_id) => { - GLib.debug("got %d", (int) response_id); - _this.el.hide(); + 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) => {