X-Git-Url: http://git.roojs.org/?p=gitlive;a=blobdiff_plain;f=RooTicket.vala;h=00bc43bffaada5e4be2eab106c572c7a8c19ef92;hp=083762b1cc2ca170ef6a1ed30e29625073f0216e;hb=9df01e59458293cdac3f984d7bc8f63055640e19;hpb=7787e7058c952459a07f64edaa20d5e7778dc1fa diff --git a/RooTicket.vala b/RooTicket.vala index 083762b1..00bc43bf 100644 --- a/RooTicket.vala +++ b/RooTicket.vala @@ -69,6 +69,7 @@ public class RooTicket : Object public string id; // not really important that they are numbers.. public string summary; public string description; + public string project_id; public string project_id_name; @@ -114,6 +115,7 @@ public class RooTicket : Object add.id = t.get_string_member("id"); add.summary = t.get_string_member("summary"); add.description = t.get_string_member("description"); + add.project_id = t.get_string_member("project_id"); add.project_id_name = t.get_string_member("project_id_name"); this.tickets.add(add); GLib.debug("ADD ticket %s : %s : %s", add.id, add.summary, add.project_id_name); @@ -130,6 +132,7 @@ public class RooTicket : Object t.id = "-1"; t.summary = ""; t.description = ""; + t.project_id = ""; t.project_id_name = ""; RooTicket.singleton().tickets.add(t); return t; @@ -408,6 +411,7 @@ public class RooTicket : Object string project_id, string milestone_id, string priority_id, + string severity_id, string classification_id, string developer_id, string summary, @@ -420,6 +424,7 @@ public class RooTicket : Object table.insert("project_id", project_id); table.insert("milestone_id", milestone_id); table.insert("priority_id", priority_id); + table.insert("severity_id", classification_id); table.insert("classification_id", classification_id); table.insert("developer_id", developer_id); table.insert("summary", summary);