this.el.response.connect( (self, response_id) => {
GLib.debug("got %d", (int) response_id);
this.el.response.connect( (self, response_id) => {
GLib.debug("got %d", (int) response_id);
// -- initial load can check the contents of the ticket files on first scan.
var ticket_id = _this.ticketsel.selectedTicketId();
// -- initial load can check the contents of the ticket files on first scan.
var ticket_id = _this.ticketsel.selectedTicketId();
_this.prmodel.loadProjects(curproj == null ? "" : curproj.id);
_this.dbmodel.loadTickets(curproj == null ? "": curproj.id, tid);
_this.prmodel.loadProjects(curproj == null ? "" : curproj.id);
_this.dbmodel.loadTickets(curproj == null ? "": curproj.id, tid);
var name = RooTicket.singleton().usernameLocal();
var ticket = RooTicket.singleton().getById(tid);
_this.name.el.set_text("wip_%s_T%s_%s".printf(name,ticket.id, ticket.summaryToBranchName()));
var name = RooTicket.singleton().usernameLocal();
var ticket = RooTicket.singleton().getById(tid);
_this.name.el.set_text("wip_%s_T%s_%s".printf(name,ticket.id, ticket.summaryToBranchName()));
//this.el.add_attribute(_this.dbcellrenderer.el , "markup", 1 );
this.el.set_entry_text_column(1);
//this.el.add_attribute(_this.dbcellrenderer.el , "markup", 1 );
this.el.set_entry_text_column(1);
if (ticket_id == "" || ticket_id == null) {
var dt = new DateTime.now_local();
_this.name.el.set_text("wip_%s_%s".printf(name,dt.format("%Y_%b_%d")));
_this.view.loadTicket("");
if (ticket_id == "" || ticket_id == null) {
var dt = new DateTime.now_local();
_this.name.el.set_text("wip_%s_%s".printf(name,dt.format("%Y_%b_%d")));
_this.view.loadTicket("");
- el.set_value(iter, 1, "#%s [%s] %s".printf( ticket.id, ticket.project_id_name , ticket.summary));
+ el.set_value(iter, 1, "#%s %s".printf( ticket.id, ticket.summary));
_this.prmodel.loadProjects(curproj == null ? "": curproj.id);
_this.dbmodel.loadTickets(curproj == null ? "": curproj.id);
_this.prmodel.loadProjects(curproj == null ? "": curproj.id);
_this.dbmodel.loadTickets(curproj == null ? "": curproj.id);