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