Clones.bjs
[gitlive] / Clones.vala
index 65976e9..179032a 100644 (file)
@@ -12,6 +12,8 @@ public class Clones : Object
         }
         return _Clones;
     }
+    public Xcls_toolbar toolbar;
+    public Xcls_scrolled scrolled;
     public Xcls_reposView reposView;
     public Xcls_reposStore reposStore;
     public Xcls_tv_autocommit tv_autocommit;
@@ -66,6 +68,15 @@ public class Clones : Object
     }
 
     // user defined functions
+    public void loadAndShow () {
+       _this.toolbar.el.hide();
+       _this.scrolled.el.hide();
+       _this.progress.el.show();
+       GitRepo.updateAll("show_clones");
+       
+       
+       
+    }
     public void show ()    {
     
         GLib.debug("show clones?");
@@ -116,17 +127,42 @@ public class Clones : Object
             // my vars (dec)
 
             // set gobject values
-            var child_0 = new Xcls_Box3( _this );
+            var child_0 = new Xcls_Spinner3( _this );
             child_0.ref();
-            this.el.pack_start (  child_0.el , false,false,0 );
-            var child_1 = new Xcls_ScrolledWindow5( _this );
+            this.el.pack_start (  child_0.el , ?bool?,?bool?,?uint? );
+            var child_1 = new Xcls_toolbar( _this );
             child_1.ref();
-            this.el.pack_end (  child_1.el , true,true,0 );
+            this.el.pack_start (  child_1.el , false,false,0 );
+            var child_2 = new Xcls_scrolled( _this );
+            child_2.ref();
+            this.el.pack_end (  child_2.el , true,true,0 );
+        }
+
+        // user defined functions
+    }
+    public class Xcls_Spinner3 : Object
+    {
+        public Gtk.Spinner el;
+        private Clones  _this;
+
+
+            // my vars (def)
+
+        // ctor
+        public Xcls_Spinner3(Clones _owner )
+        {
+            _this = _owner;
+            this.el = new Gtk.Spinner();
+
+            // my vars (dec)
+
+            // set gobject values
         }
 
         // user defined functions
     }
-    public class Xcls_Box3 : Object
+
+    public class Xcls_toolbar : Object
     {
         public Gtk.Box el;
         private Clones  _this;
@@ -135,23 +171,24 @@ public class Clones : Object
             // my vars (def)
 
         // ctor
-        public Xcls_Box3(Clones _owner )
+        public Xcls_toolbar(Clones _owner )
         {
             _this = _owner;
+            _this.toolbar = this;
             this.el = new Gtk.Box( Gtk.Orientation.HORIZONTAL, 0 );
 
             // my vars (dec)
 
             // set gobject values
             this.el.homogeneous = true;
-            var child_0 = new Xcls_Button4( _this );
+            var child_0 = new Xcls_Button5( _this );
             child_0.ref();
             this.el.add (  child_0.el  );
         }
 
         // user defined functions
     }
-    public class Xcls_Button4 : Object
+    public class Xcls_Button5 : Object
     {
         public Gtk.Button el;
         private Clones  _this;
@@ -160,7 +197,7 @@ public class Clones : Object
             // my vars (def)
 
         // ctor
-        public Xcls_Button4(Clones _owner )
+        public Xcls_Button5(Clones _owner )
         {
             _this = _owner;
             this.el = new Gtk.Button();
@@ -189,7 +226,7 @@ public class Clones : Object
     }
 
 
-    public class Xcls_ScrolledWindow5 : Object
+    public class Xcls_scrolled : Object
     {
         public Gtk.ScrolledWindow el;
         private Clones  _this;
@@ -198,9 +235,10 @@ public class Clones : Object
             // my vars (def)
 
         // ctor
-        public Xcls_ScrolledWindow5(Clones _owner )
+        public Xcls_scrolled(Clones _owner )
         {
             _this = _owner;
+            _this.scrolled = this;
             this.el = new Gtk.ScrolledWindow( null, null );
 
             // my vars (dec)