Clones.bjs
[gitlive] / Clones.vala
index 8cd690b..2c6acde 100644 (file)
@@ -2,7 +2,7 @@ static Clones  _Clones;
 
 public class Clones : Object
 {
-    public Gtk.Dialog el;
+    public Gtk.Popover el;
     private Clones  _this;
 
     public static Clones singleton()
@@ -34,16 +34,12 @@ public class Clones : Object
     public Clones()
     {
         _this = this;
-        this.el = new Gtk.Dialog();
+        this.el = new Gtk.Popover( null );
 
         // my vars (dec)
 
         // set gobject values
-        this.el.title = "Manage Clones";
         this.el.border_width = 3;
-        this.el.default_height = 500;
-        this.el.default_width = 600;
-        this.el.deletable = true;
         this.el.modal = true;
         var child_0 = new Xcls_Box2( _this );
         child_0.ref();
@@ -109,7 +105,7 @@ public class Clones : Object
             this.el.pack_start (  child_0.el , false,false,0 );
             var child_1 = new Xcls_ScrolledWindow9( _this );
             child_1.ref();
-            this.el.pack_end (  child_1.el , false,false,0 );
+            this.el.add (  child_1.el  );
         }
 
         // user defined functions