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

Clones.bjs
Clones.vala

index 7d5b425..9fecfee 100644 (file)
               "toggled" : "  (self, path)  => {\n/*    var ret ={} ;\n    var store = this.get('/reposStore');\n    store.el.get_iter_from_string(ret, path);\n                                                                 \n    var value =   store.el.get_value(ret.iter,5).value.get_boolean();\n                                                                 \n    //print(JSON.stringify(value));\n    store.el.set_value(ret.iter,5, !value);\n      var path =  store.el.get_value(ret.iter, 6).value.get_string();\n     var repo = imports.Scm.Repo.Repo.get(path);\n     repo.autopush(!value);\n    */\n}"
              },
              "id" : "cr_autopush",
-             "* pack" : "pack_start",
+             "* pack" : "pack_start,false",
              "xtype" : "CellRendererToggle",
              "$ xns" : "Gtk",
              "$ mode" : "Gtk.CellRendererMode.ACTIVATABLE"
            "items" : [
             {
              "id" : "cr_repo",
-             "* pack" : "pack_start",
+             "* pack" : "pack_start,false",
              "xtype" : "CellRendererText",
              "$ xns" : "Gtk"
             }
            "items" : [
             {
              "id" : "cr_current_branch",
-             "* pack" : "pack_start",
+             "* pack" : "pack_start,false",
              "xtype" : "CellRendererText",
              "$ xns" : "Gtk"
             }
            "items" : [
             {
              "id" : "cr_last_updated",
-             "* pack" : "pack_start",
+             "* pack" : "pack_start,false",
              "xtype" : "CellRendererText",
              "$ xns" : "Gtk"
             }
            "items" : [
             {
              "id" : "cr_all_branches",
-             "* pack" : "pack_start",
+             "* pack" : "pack_start,false",
              "xtype" : "CellRendererText",
              "$ xns" : "Gtk"
             }
index 70438c0..e61931c 100644 (file)
@@ -670,7 +670,7 @@ public class Clones : Object
             this.el.min_width = 50;
             var child_0 = new Xcls_cr_autopush( _this );
             child_0.ref();
-            this.el.pack_start (  child_0.el  );
+            this.el.pack_start (  child_0.el , false );
 
             // init method
 
@@ -744,7 +744,7 @@ public class Clones : Object
             this.el.resizable = true;
             var child_0 = new Xcls_cr_repo( _this );
             child_0.ref();
-            this.el.pack_start (  child_0.el  );
+            this.el.pack_start (  child_0.el , false );
 
             // init method
 
@@ -799,7 +799,7 @@ public class Clones : Object
             this.el.min_width = 50;
             var child_0 = new Xcls_cr_current_branch( _this );
             child_0.ref();
-            this.el.pack_start (  child_0.el  );
+            this.el.pack_start (  child_0.el , false );
 
             // init method
 
@@ -855,7 +855,7 @@ public class Clones : Object
             this.el.min_width = 50;
             var child_0 = new Xcls_cr_last_updated( _this );
             child_0.ref();
-            this.el.pack_start (  child_0.el  );
+            this.el.pack_start (  child_0.el , false );
 
             // init method
 
@@ -911,7 +911,7 @@ public class Clones : Object
             this.el.resizable = false;
             var child_0 = new Xcls_cr_all_branches( _this );
             child_0.ref();
-            this.el.pack_start (  child_0.el  );
+            this.el.pack_start (  child_0.el , false );
 
             // init method