Ticket.bjs
[gitlive] / Ticket.vala
index 8b37b65..2872a8f 100644 (file)
@@ -206,7 +206,7 @@ public class Ticket : Object
             this.el.attach_defaults (  child_15.el , 0,1,11,12 );
             var child_16 = new Xcls_Button27( _this );
             child_16.ref();
-            this.el.attach_defaults (  child_16.el , 0,4,12,13 );
+            this.el.attach_defaults (  child_16.el , 0,4,13,14 );
         }
 
         // user defined functions
@@ -297,6 +297,13 @@ public class Ticket : Object
                }
                var project_id = this.selectedProjectId();
                
+               var rt = RooTicket.singleton();
+               rt.loadProjectOptions(project_id);
+               
+               _this.milestone_id.loadMilestones();
+               _this.priority_id.loadPriorities();
+               _this.severity_id.loadSeverities();
+               _this.classification_id.loadClassifications();  
                // affects projects and milestones..
                
                
@@ -1166,7 +1173,7 @@ public class Ticket : Object
             // my vars (dec)
 
             // set gobject values
-            this.el.label = "Create Branch";
+            this.el.label = "Create Ticket";
 
             // init method