Clones.bjs
authorAlan Knowles <alan@roojs.com>
Tue, 30 Oct 2018 05:01:30 +0000 (13:01 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 30 Oct 2018 05:01:30 +0000 (13:01 +0800)
Clones.vala

Clones.bjs
Clones.vala

index ce8b7aa..d595f91 100644 (file)
            ]
           },
           {
+           "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",
            "* pack" : "append_column",
            "title" : "Auto Push",
index d619b71..66628ea 100644 (file)
@@ -16,6 +16,7 @@ public class Clones : Object
     public Xcls_reposView reposView;
     public Xcls_reposStore reposStore;
     public Xcls_tv_autocommit tv_autocommit;
+    public Xcls_tv_autopush tv_autopush;
     public Xcls_ok_button ok_button;
 
         // my vars (def)
@@ -473,7 +474,7 @@ public class Clones : Object
             var child_1 = new Xcls_tv_autocommit( _this );
             child_1.ref();
             this.el.append_column (  child_1.el  );
-            var child_2 = new Xcls_TreeViewColumn14( _this );
+            var child_2 = new Xcls_tv_autopush( _this );
             child_2.ref();
             this.el.append_column (  child_2.el  );
             var child_3 = new Xcls_TreeViewColumn16( _this );
@@ -639,7 +640,7 @@ public class Clones : Object
     }
 
 
-    public class Xcls_TreeViewColumn14 : Object
+    public class Xcls_tv_autopush : Object
     {
         public Gtk.TreeViewColumn el;
         private Clones  _this;
@@ -648,9 +649,10 @@ public class Clones : Object
             // my vars (def)
 
         // ctor
-        public Xcls_TreeViewColumn14(Clones _owner )
+        public Xcls_tv_autopush(Clones _owner )
         {
             _this = _owner;
+            _this.tv_autopush = this;
             this.el = new Gtk.TreeViewColumn();
 
             // my vars (dec)