public Xcls_btn_not_me btn_not_me;
public Xcls_btn_closed btn_closed;
public Xcls_scrolled_window scrolled_window;
public Xcls_btn_not_me btn_not_me;
public Xcls_btn_closed btn_closed;
public Xcls_scrolled_window scrolled_window;
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);
// -- 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.
// -- 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.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()));
var child_6 = new Xcls_name( _this );
child_6.ref();
this.el.attach_defaults ( child_6.el , 0,4,4,5 );
var child_6 = new Xcls_name( _this );
child_6.ref();
this.el.attach_defaults ( child_6.el , 0,4,4,5 );
child_7.ref();
this.el.attach_defaults ( child_7.el , 4,5,4,5 );
var child_8 = new Xcls_Box16( _this );
child_7.ref();
this.el.attach_defaults ( child_7.el , 4,5,4,5 );
var child_8 = new Xcls_Box16( _this );
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("");
//GLib.debug (//"Selection: %s, %s\n", (string) val1, (string) val2);
});
}
//GLib.debug (//"Selection: %s, %s\n", (string) val1, (string) val2);
});
}
- 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));