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

NewBranch.bjs
NewBranch.vala

index 2808bef..7b7b303 100644 (file)
            "listeners" : {
             "clicked" : "() => {\n\n\tGLib.debug(\"fire response = 1\");\n\t\n\tvar ticket_id = _this.ticketsel.selectedTicketId();\n\t\n\tif (ticket_id == \"\") {\n\t\t_this.ticketsel.el.get_child().get_style_context().add_class(\"warning\");\n\t\treturn;\n\t}\n\t \n\t_this.el.response(1);\n}"
            },
-           "label" : "Create Branch",
+           "label" : "Commit Changes",
            "id" : "createbtn",
            "| 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",
index 4af83b6..9a56d3a 100644 (file)
@@ -2285,7 +2285,7 @@ public class NewBranch : Object
             // my vars (dec)
 
             // set gobject values
-            this.el.label = "Create Branch";
+            this.el.label = "Commit Changes";
 
             // init method