X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=NewBranch.vala;h=af3cdd589314ec0c554c6812e85fd6175ef1e81d;hb=ee8e2cc9e8ebe8bc0b0455e27862ebdcb68794f4;hp=74c3ce3a2b8cd78aea87325d60076d1c78b9f196;hpb=4e2084d4c0d70bb5b0f77c1a2afdc32775568439;p=gitlive diff --git a/NewBranch.vala b/NewBranch.vala index 74c3ce3a..af3cdd58 100644 --- a/NewBranch.vala +++ b/NewBranch.vala @@ -2327,7 +2327,7 @@ public class NewBranch : Object this.el.attach_defaults ( child_1.el , 0,4,1,2 ); var child_2 = new Xcls_createbtn( _this ); child_2.ref(); - this.el.attach_defaults ( child_2.el , 4,5,1,2 ); + this.el.attach_defaults ( child_2.el , 1,5,2,3 ); } // user defined functions @@ -2412,30 +2412,13 @@ public class NewBranch : Object GLib.debug("fire response = 1"); - var ticket_id = _this.ticketsel.selectedTicketId(); - - if (ticket_id == "") { - _this.ticketsel.el.get_child().get_style_context().add_class("warning"); - return; - } - _this.el.response(1); + + _this.el.response(3); }); } // user defined functions - public void updateState () { - - var ticket_id = _this.ticketsel.selectedTicketId(); - - if (ticket_id == "") { - this.el.set_sensitive(false); - return; - } - - this.el.set_sensitive(true); - - } }