From 68e5e39e82e6a1aa0a5da307d23aafb787468f1f Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 30 Oct 2018 13:05:29 +0800 Subject: [PATCH] Clones.bjs Clones.vala --- Clones.bjs | 2 +- Clones.vala | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/Clones.bjs b/Clones.bjs index 12f0f516..deebd2e5 100644 --- a/Clones.bjs +++ b/Clones.bjs @@ -187,7 +187,7 @@ }, { "id" : "tv_last_updated", - "* init" : "function() {\n XObject.prototype.init.call(this);\n this.el.add_attribute(this.items[0].el , 'markup', 3 );\n\n}\n", + "* init" : "\n this.el.add_attribute(_this.cr_last_updated.el , 'markup', 3 );\n", "* pack" : "append_column", "title" : "Last updated", "xtype" : "TreeViewColumn", diff --git a/Clones.vala b/Clones.vala index e45a25a0..b87a9a3b 100644 --- a/Clones.vala +++ b/Clones.vala @@ -866,11 +866,7 @@ public class Clones : Object // init method - function() { - XObject.prototype.init.call(this); - this.el.add_attribute(this.items[0].el , 'markup', 3 ); - - } + this.el.add_attribute(_this.cr_last_updated.el , 'markup', 3 ); } // user defined functions -- 2.39.2