_this.summary.el.get_text() ,
_this.description.el.buffer.text
);
-
+ this.el.hide();
+ this.running = false;
if (this.repo != null) {
NewBranch.singleton().show(this.repo, new Gee.ArrayList<GitMonitorQueue>(), tid);
}
-
+
});
RooProject? curproj = null;
if (this.repo != null) {
- curproj = RooTicket.singleton().getProjectByRepo(this.repo);
+ curproj = RooProject.getProjectByRepo(this.repo);
}
_this.prmodel.loadProjects(curproj == null ? "" : curproj.id);
+ if (curproj != null) {
+
+
+ var rt = RooTicket.singleton();
+ rt.loadProjectOptions(curproj.id);
+
+ _this.msmodel.loadMilestones();
+ _this.primodel.loadPriorities();
+ _this.sevmodel.loadSeverities();
+ _this.clmodel.loadClassifications();
+ _this.devmodel.loadDevelopers();
+
+ }
+ _this.summary.el.set_text("");
+ _this.description.el.buffer.text = "";
this.el.run();
// user defined functions
public void loadProjects (string id) {
- var rt = RooTicket.singleton();
- rt.loadProjects();
_this.project_id.loading = true;
if (id == "") {
_this.project_id.el.set_active_iter(iter);
}
- var projects = rt.projects;
- foreach(var project in projects) {
+
+ foreach(var project in RooProject.projects()) {
el.append(out iter);