Ticket.bjs
[gitlive] / Ticket.vala
index 7c62b94..1ff9d33 100644 (file)
@@ -1166,33 +1166,33 @@ public class Ticket : Object
                var invalid = false;
                
                // validate first...
-               _this.project_id.el.get_style_context().remove_class("warning");        
+               _this.project_id.el.get_child().get_style_context().remove_class("warning");    
                if (_this.project_id.selectedProjectId() == "") {
-                       _this.project_id.el.get_style_context().add_class("warning");
+                       _this.project_id.el.get_child().get_style_context().add_class("warning");
                        invalid = true;
                }
                
-               _this.milestone_id.el.get_style_context().remove_class("warning");      
+               _this.milestone_id.el.get_child().get_style_context().remove_class("warning");  
                if (_this.milestone_id.selectedMilestoneId() == "") {
-                       _this.milestone_id.el.get_style_context().add_class("warning");
+                       _this.milestone_id.el.get_child().get_style_context().add_class("warning");
                        invalid = true;
                }
             
-               _this.priority_id.el.get_style_context().remove_class("warning");       
+               _this.priority_id.el.get_child().get_style_context().remove_class("warning");   
                if (_this.priority_id.selectedPriorityId() == "") {
-                       _this.priority_id.el.get_style_context().add_class("warning");
+                       _this.priority_id.el.get_child().get_style_context().add_class("warning");
                        invalid = true;
                }
                
-               _this.classification_id.el.get_style_context().remove_class("warning"); 
+               _this.classification_id.el.get_child().get_style_context().remove_class("warning");     
                if (_this.classification_id.selectedClassificationId() == "") {
-                       _this.classification_id.el.get_style_context().add_class("warning");
+                       _this.classification_id.el.get_child().get_style_context().add_class("warning");
                        invalid = true;
                }
                
-               _this.developer_id.el.get_style_context().remove_class("warning");      
+               _this.developer_id.el.get_child().get_style_context().remove_class("warning");  
                if (_this.developer_id.selectedDeveloperId() == "") {
-                       _this.developer_id.el.get_style_context().add_class("warning");
+                       _this.developer_id.el.get_child().get_style_context().add_class("warning");
                        invalid = true;
                }