fix issue with merge tickets and disable do merge unless action is chosen
[gitlive] / RooTicket.vala
index d32ad47..00bc43b 100644 (file)
@@ -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;