X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=NewBranch.bjs;h=7b7b3036c95a9e0aab6af3b53c3057261f1023e1;hb=3584ba53150960ecdfbbc70d72e33fc2a9485577;hp=3c76d7a568494affceb8ed4cf75a2179d636aa18;hpb=19166f83acbb615c64d09e94e9993ef54e69703e;p=gitlive diff --git a/NewBranch.bjs b/NewBranch.bjs index 3c76d7a5..7b7b3036 100644 --- a/NewBranch.bjs +++ b/NewBranch.bjs @@ -511,7 +511,7 @@ "int margin" : 2, "items" : [ { - "label" : "Use this as branch name", + "label" : "Commit Message", "Gtk.Align halign" : "Gtk.Align.START", "xalign" : 0.90000000000000002, "* pack" : "attach_defaults,0,1,3,4", @@ -521,7 +521,7 @@ "$ xns" : "Gtk" }, { - "id" : "name", + "id" : "commit_message", "$ visible" : true, "xtype" : "Entry", "* pack" : "attach_defaults,0,4,4,5", @@ -531,7 +531,7 @@ "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",