}
return _Clones;
}
+ public Xcls_toolbar toolbar;
public Xcls_reposView reposView;
public Xcls_reposStore reposStore;
public Xcls_tv_autocommit tv_autocommit;
}
// 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?");
this.el.set_deletable(true);
this.el.set_gravity(Gdk.Gravity.NORTH);
this.el.move((Gdk.Screen.width() / 2 ) -400 ,0);
this.el.show_all();
_this.reposStore.load();
this.el.set_keep_above(true);
+ GLib.debug("show clones = run?");
this.el.run();
// load clones..
// this.get('/reposStore').load();
// my vars (dec)
// set gobject values
- var child_0 = new Xcls_Box3( _this );
+ var child_0 = new Xcls_toolbar( _this );
child_0.ref();
this.el.pack_start ( child_0.el , false,false,0 );
var child_1 = new Xcls_ScrolledWindow5( _this );
// user defined functions
}
- public class Xcls_Box3 : Object
+ public class Xcls_toolbar : Object
{
public Gtk.Box el;
private Clones _this;
// 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.label = "Add Repository";
+ // init method
+
+ {
+ this.el.get_style_context().add_class("suggested-action");
+ }
+
//listeners
this.el.clicked.connect( () => {
Clone.singleton().show(this.el);