projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
665fae0
)
Clones.bjs
author
Alan Knowles
<alan@roojs.com>
Tue, 30 Oct 2018 05:04:42 +0000
(13:04 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 30 Oct 2018 05:04:42 +0000
(13:04 +0800)
Clones.vala
Clones.bjs
patch
|
blob
|
history
Clones.vala
patch
|
blob
|
history
diff --git
a/Clones.bjs
b/Clones.bjs
index
7517c9f
..
37ddc2b
100644
(file)
--- a/
Clones.bjs
+++ b/
Clones.bjs
@@
-152,7
+152,7
@@
},
{
"id" : "tv_repo",
},
{
"id" : "tv_repo",
- "* init" : "
function() {\n XObject.prototype.init.call(this);\n this.el.add_attribute(this.items[0].el , 'markup', 0 );\n\n}
\n",
+ "* init" : "
\n this.el.add_attribute(_this.cr_repo.el , 'markup', 0 );
\n",
"title" : "Repo",
"* pack" : "append_column",
"xtype" : "TreeViewColumn",
"title" : "Repo",
"* pack" : "append_column",
"xtype" : "TreeViewColumn",
diff --git
a/Clones.vala
b/Clones.vala
index
5f32c16
..
a9ed03c
100644
(file)
--- a/
Clones.vala
+++ b/
Clones.vala
@@
-751,11
+751,7
@@
public class Clones : Object
// init method
// init method
- function() {
- XObject.prototype.init.call(this);
- this.el.add_attribute(this.items[0].el , 'markup', 0 );
-
- }
+ this.el.add_attribute(_this.cr_repo.el , 'markup', 0 );
}
// user defined functions
}
// user defined functions