+ GLib.debug("got %d", (int) response_id);
+ if (response_id == 0) {
+ _this.el.hide();
+ this.running = false;
+ 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.
+ var ticket_id = _this.ticketsel.selectedTicketId();
+
+ if (this.repo != null) {
+ var bn = _this.name.el.get_text();
+ if (ticket_id != "" ) {
+ this.repo.setActiveTicket( RooTicket.singleton().getById(ticket_id), bn);
+ } else {
+ this.repo.setActiveTicket( RooTicket.singleton().getById("-1"), bn);
+ }
+ }
+
+ this.running = false;
+
+ this.el.hide();
+
+
+
+
+ });
+ this.el.show.connect( (self) => {
+
+
+ //test