From: Alan Knowles Date: Mon, 24 Dec 2018 07:58:49 +0000 (+0800) Subject: MergeBranch.bjs X-Git-Url: http://git.roojs.org/?p=gitlive;a=commitdiff_plain;h=832807c9fbc3afba44ed03dee8ab7c651fdecd47 MergeBranch.bjs MergeBranch.vala --- diff --git a/MergeBranch.bjs b/MergeBranch.bjs index 3b4e33f8..93838781 100644 --- a/MergeBranch.bjs +++ b/MergeBranch.bjs @@ -32,6 +32,7 @@ "Gtk.Orientation orientation" : "Gtk.Orientation.VERTICAL", "items" : [ { + "id" : "table", "bool homogeneous" : false, "* pack" : "pack_start,false,false,0", "xtype" : "Table", diff --git a/MergeBranch.vala b/MergeBranch.vala index 464c85a7..bb72ae2a 100644 --- a/MergeBranch.vala +++ b/MergeBranch.vala @@ -12,6 +12,7 @@ public class MergeBranch : Object } return _MergeBranch; } + public Xcls_table table; public Xcls_actionsel actionsel; public Xcls_actioncellrenderer actioncellrenderer; public Xcls_actionmodel actionmodel; @@ -157,7 +158,7 @@ public class MergeBranch : Object // my vars (dec) // set gobject values - var child_0 = new Xcls_Table3( _this ); + var child_0 = new Xcls_table( _this ); child_0.ref(); this.el.pack_start ( child_0.el , false,false,0 ); var child_1 = new Xcls_scrolled_window( _this ); @@ -170,7 +171,7 @@ public class MergeBranch : Object // user defined functions } - public class Xcls_Table3 : Object + public class Xcls_table : Object { public Gtk.Table el; private MergeBranch _this; @@ -179,9 +180,10 @@ public class MergeBranch : Object // my vars (def) // ctor - public Xcls_Table3(MergeBranch _owner ) + public Xcls_table(MergeBranch _owner ) { _this = _owner; + _this.table = this; this.el = new Gtk.Table( 2, 2, false ); // my vars (dec)