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);
- }
+
+ var res = this.repo.setActiveTicket(
+ RooTicket.singleton().getById(ticket_id != "" ? ticket_id : "-1"), bn
+ );
+ if (res) {
+ // start the monitoring..
+ GitMonitor.gitmonitor.start();
+
+ }
}
+
this.running = false;
this.el.show_all();
+ this.el.set_keep_above(true);
_this.dbmodel.loadTickets();
+ this.el.run();
}
public class Xcls_VBox2 : Object