}
public class Xcls_Clones : Object
{
- public Gtk.VBox el;
+ public Gtk.Box el;
private Clones _this;
{
_this = _owner;
_this.Clones = this;
- this.el = new Gtk.VBox( true, 0 );
+ this.el = new Gtk.Box( null, 0 );
// my vars (dec)
this.el.label = "Remotes / Clones";
//listeners
- this.el.clicked.connect( function (self) {
+ this.el.clicked.connect( () => {
- var rv = this.get('/reposView');
+ /* var rv = this.get('/reposView');
var rs = this.get('/reposStore');
if (rv.el.get_selection().count_selected_rows() != 1) {
//nothing?
Remotes.show();
Clones.el.set_title("Manage Clones");
-
+ */
this.el.label = "Branches";
//listeners
- this.el.clicked.connect( function (self) {
-
+ this.el.clicked.connect( () => {
+ /*
var rv = this.get('/reposView');
var rs = this.get('/reposStore');
if (rv.el.get_selection().count_selected_rows() != 1) {
-
+ */
});
}
this.el.label = "Merge";
//listeners
- this.el.clicked.connect( function (self) {
-
+ this.el.clicked.connect( () {
+ /*
var rv = this.get('/reposView');
var rs = this.get('/reposStore');
if (rv.el.get_selection().count_selected_rows() != 1) {
-
+ */
});
this.el.label = "Switch Branch";
//listeners
- this.el.clicked.connect( function (self) {
+ this.el.clicked.connect( () => {
this.el.label = "Pull";
//listeners
- this.el.clicked.connect( function (self) {
+ this.el.clicked.connect( () => {
// init method
- function() {
+ () => {
XObject.prototype.init.call(this);
this.el.set_policy (Gtk.PolicyType.AUTOMATIC, Gtk.PolicyType.AUTOMATIC)
}