From 665fae0d44629ef38c55cd6a6a1db484b4c4686e Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 30 Oct 2018 13:04:25 +0800 Subject: [PATCH] Clones.bjs Clones.vala --- Clones.bjs | 2 +- Clones.vala | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Clones.bjs b/Clones.bjs index 6188519c..7517c9fa 100644 --- a/Clones.bjs +++ b/Clones.bjs @@ -131,7 +131,7 @@ }, { "id" : "tv_autopush", - "* init" : " \n this.el.add_attribute(this.items[0].el , 'active', 5 );\n// this.items[0].el.set_activatable(true);\n\n", + "* init" : " \n this.el.add_attribute(_this.cr_autopush.el , 'active', 5 );\n// this.items[0].el.set_activatable(true);\n\n", "* pack" : "append_column", "title" : "Auto Push", "xtype" : "TreeViewColumn", diff --git a/Clones.vala b/Clones.vala index 19420b9b..5f32c161 100644 --- a/Clones.vala +++ b/Clones.vala @@ -677,7 +677,7 @@ public class Clones : Object // init method - this.el.add_attribute(this.items[0].el , 'active', 5 ); + this.el.add_attribute(_this.cr_autopush.el , 'active', 5 ); // this.items[0].el.set_activatable(true); } -- 2.39.2