src/Builder4/PopoverFileDetails.bjs
authorAlan <alan@roojs.com>
Wed, 6 Jul 2022 08:29:04 +0000 (16:29 +0800)
committerAlan <alan@roojs.com>
Wed, 6 Jul 2022 08:29:04 +0000 (16:29 +0800)
src/Builder4/PopoverFileDetails.vala

src/Builder4/PopoverFileDetails.bjs
src/Builder4/PopoverFileDetails.vala

index e121b15..e9d3469 100644 (file)
@@ -46,7 +46,6 @@
          "$ xns" : "Gtk",
          "* init" : "this.el.add_attribute(_this.ftdbcellrenderer.el , \"markup\", 1 );",
          "* pack" : "attach,1,0,1,1",
-         "bool has_entry" : true,
          "id" : "filetype",
          "items" : [
           {
index 3cbb996..55a50bd 100644 (file)
@@ -55,7 +55,6 @@ public class Xcls_PopoverFileDetails : Object
         this.el.position = Gtk.PositionType.RIGHT;
         var child_0 = new Xcls_Box2( _this );
         child_0.ref();
-        this.el.add(  child_0.el );
 
         //listeners
         this.el.closed.connect( () => {
@@ -212,7 +211,6 @@ public class Xcls_PopoverFileDetails : Object
         public Xcls_HeaderBar3(Xcls_PopoverFileDetails _owner )
         {
             _this = _owner;
-            this.el = new Gtk.HeaderBar.new(  );
             this.el = new Gtk.HeaderBar();
 
             // my vars (dec)
@@ -237,7 +235,6 @@ public class Xcls_PopoverFileDetails : Object
         {
             _this = _owner;
             _this.grid = this;
-            this.el = new Gtk.Grid.new(  );
             this.el = new Gtk.Grid();
 
             // my vars (dec)
@@ -342,7 +339,6 @@ public class Xcls_PopoverFileDetails : Object
         {
             _this = _owner;
             _this.filetype = this;
-            this.el = new Gtk.ComboBox.with_entry(  );
             this.el = new Gtk.ComboBox();
 
             // my vars (dec)
@@ -430,7 +426,6 @@ public class Xcls_PopoverFileDetails : Object
         {
             _this = _owner;
             _this.ftdbcellrenderer = this;
-            this.el = new Gtk.CellRendererText.new(  );
             this.el = new Gtk.CellRendererText();
 
             // my vars (dec)
@@ -454,7 +449,7 @@ public class Xcls_PopoverFileDetails : Object
         {
             _this = _owner;
             _this.ftdbmodel = this;
-            this.el = new Gtk.ListStore.newv(  { typeof(string),typeof(string) }  );
+            this.el = new Gtk.ListStore( 2, typeof(string),typeof(string) );
 
             // my vars (dec)
 
@@ -549,7 +544,6 @@ public class Xcls_PopoverFileDetails : Object
         {
             _this = _owner;
             _this.name = this;
-            this.el = new Gtk.Entry.new(  );
             this.el = new Gtk.Entry();
 
             // my vars (dec)
@@ -599,7 +593,6 @@ public class Xcls_PopoverFileDetails : Object
         {
             _this = _owner;
             _this.title = this;
-            this.el = new Gtk.Entry.new(  );
             this.el = new Gtk.Entry();
 
             // my vars (dec)
@@ -650,7 +643,6 @@ public class Xcls_PopoverFileDetails : Object
         {
             _this = _owner;
             _this.region = this;
-            this.el = new Gtk.Entry.new(  );
             this.el = new Gtk.Entry();
 
             // my vars (dec)
@@ -700,7 +692,6 @@ public class Xcls_PopoverFileDetails : Object
         {
             _this = _owner;
             _this.parent = this;
-            this.el = new Gtk.Entry.new(  );
             this.el = new Gtk.Entry();
 
             // my vars (dec)
@@ -750,7 +741,6 @@ public class Xcls_PopoverFileDetails : Object
         {
             _this = _owner;
             _this.permname = this;
-            this.el = new Gtk.Entry.new(  );
             this.el = new Gtk.Entry();
 
             // my vars (dec)
@@ -800,7 +790,6 @@ public class Xcls_PopoverFileDetails : Object
         {
             _this = _owner;
             _this.modOrder = this;
-            this.el = new Gtk.Entry.new(  );
             this.el = new Gtk.Entry();
 
             // my vars (dec)
@@ -850,7 +839,6 @@ public class Xcls_PopoverFileDetails : Object
         {
             _this = _owner;
             _this.build_module = this;
-            this.el = new Gtk.ComboBox.new(  );
             this.el = new Gtk.ComboBox();
 
             // my vars (dec)
@@ -883,7 +871,6 @@ public class Xcls_PopoverFileDetails : Object
         {
             _this = _owner;
             _this.dbcellrenderer = this;
-            this.el = new Gtk.CellRendererText.new(  );
             this.el = new Gtk.CellRendererText();
 
             // my vars (dec)
@@ -907,7 +894,7 @@ public class Xcls_PopoverFileDetails : Object
         {
             _this = _owner;
             _this.dbmodel = this;
-            this.el = new Gtk.ListStore.newv(  { typeof(string),typeof(string) }  );
+            this.el = new Gtk.ListStore( 2, typeof(string),typeof(string) );
 
             // my vars (dec)
 
@@ -990,7 +977,6 @@ public class Xcls_PopoverFileDetails : Object
         {
             _this = _owner;
             _this.dir = this;
-            this.el = new Gtk.ComboBox.new(  );
             this.el = new Gtk.ComboBox();
 
             // my vars (dec)
@@ -1023,7 +1009,6 @@ public class Xcls_PopoverFileDetails : Object
         {
             _this = _owner;
             _this.dircellrenderer = this;
-            this.el = new Gtk.CellRendererText.new(  );
             this.el = new Gtk.CellRendererText();
 
             // my vars (dec)
@@ -1047,7 +1032,7 @@ public class Xcls_PopoverFileDetails : Object
         {
             _this = _owner;
             _this.dirmodel = this;
-            this.el = new Gtk.ListStore.newv(  { typeof(string),typeof(string) }  );
+            this.el = new Gtk.ListStore( 2, typeof(string),typeof(string) );
 
             // my vars (dec)
 
@@ -1114,7 +1099,6 @@ public class Xcls_PopoverFileDetails : Object
         public Xcls_HButtonBox29(Xcls_PopoverFileDetails _owner )
         {
             _this = _owner;
-            this.el = new Gtk.HButtonBox.new(  );
             this.el = new Gtk.HButtonBox();
 
             // my vars (dec)
@@ -1145,7 +1129,6 @@ public class Xcls_PopoverFileDetails : Object
         public Xcls_Button30(Xcls_PopoverFileDetails _owner )
         {
             _this = _owner;
-            this.el = new Gtk.Button.new(  );
             this.el = new Gtk.Button();
 
             // my vars (dec)
@@ -1177,7 +1160,6 @@ public class Xcls_PopoverFileDetails : Object
         {
             _this = _owner;
             _this.save_btn = this;
-            this.el = new Gtk.Button.new(  );
             this.el = new Gtk.Button();
 
             // my vars (dec)