From: Alan Knowles Date: Tue, 30 Oct 2018 05:09:46 +0000 (+0800) Subject: Clones.bjs X-Git-Url: http://git.roojs.org/?p=gitlive;a=commitdiff_plain;h=646c8e00294f6f9b05f4689c5600d3897989dee9 Clones.bjs Clones.vala --- diff --git a/Clones.bjs b/Clones.bjs index 1e61436c..9356b0de 100644 --- a/Clones.bjs +++ b/Clones.bjs @@ -170,7 +170,7 @@ }, { "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", diff --git a/Clones.vala b/Clones.vala index bb4ebe40..066a3cd0 100644 --- a/Clones.vala +++ b/Clones.vala @@ -805,12 +805,8 @@ public class Clones : Object // 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 ); - - } } // user defined functions