projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4c554ea
)
Clones.bjs
author
Alan Knowles
<alan@roojs.com>
Tue, 30 Oct 2018 05:09:46 +0000
(13:09 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 30 Oct 2018 05:09:46 +0000
(13:09 +0800)
Clones.vala
Clones.bjs
patch
|
blob
|
history
Clones.vala
patch
|
blob
|
history
diff --git
a/Clones.bjs
b/Clones.bjs
index
1e61436
..
9356b0d
100644
(file)
--- a/
Clones.bjs
+++ b/
Clones.bjs
@@
-170,7
+170,7
@@
},
{
"id" : "tv_current_branch",
},
{
"id" : "tv_current_branch",
- "* init" : "
function() {\n XObject.prototype.init.call(this);\n this.el.add_attribute(_this.cr_current_branch.el , \"markup\", 1 );\n this.el.add_attribute(_this.cr_current_branch.el, \"cell-background\", 7 );\n\n}
\n",
+ "* init" : "
\n this.el.add_attribute(_this.cr_current_branch.el , \"markup\", 1 );\n this.el.add_attribute(_this.cr_current_branch.el, \"cell-background\", 7 );\n
\n",
"* pack" : "append_column",
"title" : "Current Branch",
"xtype" : "TreeViewColumn",
"* pack" : "append_column",
"title" : "Current Branch",
"xtype" : "TreeViewColumn",
diff --git
a/Clones.vala
b/Clones.vala
index
bb4ebe4
..
066a3cd
100644
(file)
--- a/
Clones.vala
+++ b/
Clones.vala
@@
-805,12
+805,8
@@
public class Clones : Object
// init method
// init method
- function() {
- XObject.prototype.init.call(this);
- this.el.add_attribute(_this.cr_current_branch.el , "markup", 1 );
+ this.el.add_attribute(_this.cr_current_branch.el , "markup", 1 );
this.el.add_attribute(_this.cr_current_branch.el, "cell-background", 7 );
this.el.add_attribute(_this.cr_current_branch.el, "cell-background", 7 );
-
- }
}
// user defined functions
}
// user defined functions