NewBranch.bjs
authorAlan Knowles <alan@roojs.com>
Thu, 21 Mar 2019 05:04:38 +0000 (13:04 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 21 Mar 2019 05:04:38 +0000 (13:04 +0800)
NewBranch.vala

NewBranch.bjs
NewBranch.vala

index d6eefc1..3922133 100644 (file)
            "| void updateState" : "() {\n\n\tvar ticket_id = _this.ticketsel.selectedTicketId();\n\t\n\tif (ticket_id == \"\") {\n\t\tthis.el.set_sensitive(false);\n\t\treturn;\n\t}\n \n\tthis.el.set_sensitive(true);\n \n}\n",
            "* init" : "{\n   this.el.get_style_context().add_class(\"suggested-action\");\n}\n",
            "xtype" : "Button",
-           "* pack" : "attach_defaults,4,5,4,5",
+           "* pack" : "attach_defaults,4,5,1,2",
            "$ xns" : "Gtk"
           }
          ]
index c4c372d..4276e91 100644 (file)
@@ -2208,7 +2208,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,4,5 );
+            this.el.attach_defaults (  child_2.el , 4,5,1,2 );
         }
 
         // user defined functions