projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
66045d5
)
NewBranch.bjs
author
Alan Knowles
<alan@roojs.com>
Thu, 21 Mar 2019 06:32:39 +0000
(14:32 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 21 Mar 2019 06:32:39 +0000
(14:32 +0800)
NewBranch.vala
NewBranch.bjs
patch
|
blob
|
history
NewBranch.vala
patch
|
blob
|
history
diff --git
a/NewBranch.bjs
b/NewBranch.bjs
index
83ea46f
..
1d8ea4f
100644
(file)
--- a/
NewBranch.bjs
+++ b/
NewBranch.bjs
@@
-554,7
+554,7
@@
},
"label" : "Commit Changes",
"id" : "createbtn",
},
"label" : "Commit Changes",
"id" : "createbtn",
- "| void updateState" : "() {\n\n\tvar msg = _this.commit_message.el.get
T
ext();\n\t\n\tif (msg == \"\") {\n\t\tthis.el.set_sensitive(false);\n\t\treturn;\n\t}\n \n\tthis.el.set_sensitive(true);\n \n}\n",
+ "| void updateState" : "() {\n\n\tvar msg = _this.commit_message.el.get
_t
ext();\n\t\n\tif (msg == \"\") {\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,0,5,2,3",
"* init" : "{\n this.el.get_style_context().add_class(\"suggested-action\");\n}\n",
"xtype" : "Button",
"* pack" : "attach_defaults,0,5,2,3",
diff --git
a/NewBranch.vala
b/NewBranch.vala
index
40bf338
..
d13b5ba
100644
(file)
--- a/
NewBranch.vala
+++ b/
NewBranch.vala
@@
-2427,7
+2427,7
@@
public class NewBranch : Object
// user defined functions
public void updateState () {
// user defined functions
public void updateState () {
- var msg = _this.commit_message.el.get
T
ext();
+ var msg = _this.commit_message.el.get
_t
ext();
if (msg == "") {
this.el.set_sensitive(false);
if (msg == "") {
this.el.set_sensitive(false);