X-Git-Url: http://git.roojs.org/?p=gitlive;a=blobdiff_plain;f=Ticket.vala;fp=Ticket.vala;h=8989b1804d2167703bf1020cde7eeaffccfc3772;hp=e349e336b5847100d151ec356f9bfef3be7627ab;hb=1674b0bada75891c3958d2d6eef5339ddfd22f89;hpb=81de542e33fe23bc55c575b66ac33d59ada71483 diff --git a/Ticket.vala b/Ticket.vala index e349e336..8989b180 100644 --- a/Ticket.vala +++ b/Ticket.vala @@ -49,12 +49,9 @@ public class Ticket : Object this.el.default_width = 500; this.el.deletable = true; this.el.modal = true; - var child_0 = new Xcls_VBox2( _this ); + var child_0 = new Xcls_Box2( _this ); child_0.ref(); this.el.get_content_area().add ( child_0.el ); - var child_1 = new Xcls_spinner( _this ); - child_1.ref(); - this.el.add ( child_1.el ); //listeners this.el.delete_event.connect( (self, event) => { @@ -145,19 +142,19 @@ public class Ticket : Object this.el.run(); } - public class Xcls_VBox2 : Object + public class Xcls_Box2 : Object { - public Gtk.VBox el; + public Gtk.Box el; private Ticket _this; // my vars (def) // ctor - public Xcls_VBox2(Ticket _owner ) + public Xcls_Box2(Ticket _owner ) { _this = _owner; - this.el = new Gtk.VBox( true, 0 ); + this.el = new Gtk.Box( null, 0 ); // my vars (dec) @@ -165,6 +162,9 @@ public class Ticket : Object var child_0 = new Xcls_Table3( _this ); child_0.ref(); this.el.pack_start ( child_0.el , false,false,0 ); + var child_1 = new Xcls_spinner( _this ); + child_1.ref(); + this.el.add ( child_1.el ); } // user defined functions @@ -1254,7 +1254,6 @@ public class Ticket : Object } - public class Xcls_spinner : Object { public Gtk.Spinner el; @@ -1280,4 +1279,5 @@ public class Ticket : Object // user defined functions } + }