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)
}