Clones.bjs
[gitlive] / Clones.vala
index 5f32c16..b87a9a3 100644 (file)
@@ -751,11 +751,7 @@ public class Clones : Object
 
             // 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
@@ -812,8 +808,8 @@ public class Clones : Object
 
             function() {
                 XObject.prototype.init.call(this);
-                this.el.add_attribute(this.items[0].el , 'markup', 1 );
-                 this.el.add_attribute(this.items[0].el , 'cell-background', 7 );
+                this.el.add_attribute(_this.cr_current_branch.el , 'markup', 1 );
+                 this.el.add_attribute(_this.cr_current_branch.el, 'cell-background', 7 );
             
             }
         }
@@ -870,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