NewBranch.bjs
[gitlive] / NewBranch.vala
index 146d36b..16ba8ca 100644 (file)
@@ -736,10 +736,18 @@ public class NewBranch : Object
         }
 
         // user defined functions
-        public return_type XXXX updateState() {
-        
+        public void updateState () {
         
         
+        if (_this.actionsel.selectedAction() == "") {
+                       // need to select an action..
+                       this.el.set_sensitive(false);
+                       return;
+               
+               
+               }
+                       this.el.set_sensitive(true);
+                       return;
         }
     }