var dt = new DateTime.now_local();
_this.name.el.set_text("wip_%s_%s".printf(name,dt.format("%Y_%b_%d")));
+ _this.view.loadTicket("");
return;
}
// user defined functions
public void loadTicket (string tid) {
+ int h,w;
+ _this.el.get_size(out w, out h);
+
if (tid == "") {
_this.scrolled_window.el.hide();
+ _this.el.resize(w, 150);
} else {
_this.scrolled_window.el.show();
+ _this.el.resize(w, 800);
}
- this.el.load_uri("http://www.google.com");
+ this.el.load_uri("https://roojs.com/admin.php/MTrack/View/" + tid);
}
}