projects
/
gitlive
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RooRepo.vala
[gitlive]
/
Ticket.vala
diff --git
a/Ticket.vala
b/Ticket.vala
index
3432d9b
..
cb75d9d
100644
(file)
--- a/
Ticket.vala
+++ b/
Ticket.vala
@@
-79,11
+79,12
@@
public class Ticket : Object
_this.summary.el.get_text() ,
_this.description.el.buffer.text
);
_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);
}
if (this.repo != null) {
NewBranch.singleton().show(this.repo, new Gee.ArrayList<GitMonitorQueue>(), tid);
}
- this.el.hide();
+
});
});
@@
-117,7
+118,7
@@
public class Ticket : Object
RooProject? curproj = null;
if (this.repo != null) {
RooProject? curproj = null;
if (this.repo != null) {
- curproj = Roo
Ticket.singleton()
.getProjectByRepo(this.repo);
+ curproj = Roo
Project
.getProjectByRepo(this.repo);
}
_this.prmodel.loadProjects(curproj == null ? "" : curproj.id);
if (curproj != null) {
}
_this.prmodel.loadProjects(curproj == null ? "" : curproj.id);
if (curproj != null) {
@@
-133,6
+134,9
@@
public class Ticket : Object
_this.devmodel.loadDevelopers();
}
_this.devmodel.loadDevelopers();
}
+ _this.summary.el.set_text("");
+ _this.description.el.buffer.text = "";
+
this.el.run();
this.el.run();
@@
-422,8
+426,6
@@
public class Ticket : Object
// user defined functions
public void loadProjects (string id) {
// user defined functions
public void loadProjects (string id) {
- var rt = RooTicket.singleton();
- rt.loadProjects();
_this.project_id.loading = true;
_this.project_id.loading = true;
@@
-439,8
+441,8
@@
public class Ticket : Object
if (id == "") {
_this.project_id.el.set_active_iter(iter);
}
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);
el.append(out iter);