projects
/
gitlive
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clones.bjs
[gitlive]
/
Clones.vala
diff --git
a/Clones.vala
b/Clones.vala
index
179032a
..
0c0f9b2
100644
(file)
--- a/
Clones.vala
+++ b/
Clones.vala
@@
-12,6
+12,7
@@
public class Clones : Object
}
return _Clones;
}
}
return _Clones;
}
+ public Xcls_spinner spinner;
public Xcls_toolbar toolbar;
public Xcls_scrolled scrolled;
public Xcls_reposView reposView;
public Xcls_toolbar toolbar;
public Xcls_scrolled scrolled;
public Xcls_reposView reposView;
@@
-69,9
+70,14
@@
public class Clones : Object
// user defined functions
public void loadAndShow () {
// user defined functions
public void loadAndShow () {
+
+ _this.el.show_all();
+
_this.toolbar.el.hide();
_this.scrolled.el.hide();
_this.toolbar.el.hide();
_this.scrolled.el.hide();
- _this.progress.el.show();
+ _this.spinner.el.show();
+ _this.spinner.el.start();
+
GitRepo.updateAll("show_clones");
GitRepo.updateAll("show_clones");
@@
-79,6
+85,12
@@
public class Clones : Object
}
public void show () {
}
public void show () {
+
+ _this.spinner.el.stop();
+ _this.spinner.el.hide();
+ _this.toolbar.el.show();
+ _this.scrolled.el.show();
+
GLib.debug("show clones?");
this.el.set_deletable(true);
this.el.set_gravity(Gdk.Gravity.NORTH);
GLib.debug("show clones?");
this.el.set_deletable(true);
this.el.set_gravity(Gdk.Gravity.NORTH);
@@
-127,9
+139,9
@@
public class Clones : Object
// my vars (dec)
// set gobject values
// my vars (dec)
// set gobject values
- var child_0 = new Xcls_
Spinner3
( _this );
+ var child_0 = new Xcls_
spinner
( _this );
child_0.ref();
child_0.ref();
- this.el.pack_start ( child_0.el ,
?bool?,?bool?,?uint?
);
+ this.el.pack_start ( child_0.el ,
false,false,0
);
var child_1 = new Xcls_toolbar( _this );
child_1.ref();
this.el.pack_start ( child_1.el , false,false,0 );
var child_1 = new Xcls_toolbar( _this );
child_1.ref();
this.el.pack_start ( child_1.el , false,false,0 );
@@
-140,7
+152,7
@@
public class Clones : Object
// user defined functions
}
// user defined functions
}
- public class Xcls_
Spinner3
: Object
+ public class Xcls_
spinner
: Object
{
public Gtk.Spinner el;
private Clones _this;
{
public Gtk.Spinner el;
private Clones _this;
@@
-149,9
+161,10
@@
public class Clones : Object
// my vars (def)
// ctor
// my vars (def)
// ctor
- public Xcls_
Spinner3
(Clones _owner )
+ public Xcls_
spinner
(Clones _owner )
{
_this = _owner;
{
_this = _owner;
+ _this.spinner = this;
this.el = new Gtk.Spinner();
// my vars (dec)
this.el = new Gtk.Spinner();
// my vars (dec)