NewBranch.bjs
[gitlive] / NewBranch.bjs
index f3946f3..83ea46f 100644 (file)
        "bool homogeneous" : false,
        "* pack" : "append_page,_this.label_quick_commit.el",
        "xtype" : "Box",
-       "| void load_data" : "() {\n  _this.commit_message.el.set_text(\"\");\n  \n}\n",
+       "| void load_data" : "() {\n  _this.commit_message.el.set_text(\"\");\n  _this.createbtn.updateState();\n}\n",
        "$ xns" : "Gtk",
        "Gtk.Orientation orientation" : "Gtk.Orientation.VERTICAL",
        "items" : [
            "$ xns" : "Gtk"
           },
           {
+           "listeners" : {
+            "key_release_event" : "() => { \n\n\t_this.createbtn.updateState();\n}"
+           },
            "id" : "commit_message",
            "$ visible" : true,
            "xtype" : "Entry",