public void loadAndShow () {
this.el.set_deletable(true);
this.el.set_gravity(Gdk.Gravity.NORTH);
- this.el.move((Gdk.Screen.width() / 2 ) - (int.max(1280,Gdk.Screen.width() / 2) ,0);
+ this.el.move((Gdk.Screen.width() / 2 ) - (int.min(1280,Gdk.Screen.width()) / 2) ,0);
this.el.set_keep_above(true);
this.el.set_default_size(
- int.max(1280,Gdk.Screen.width()),
+ int.min(1280,Gdk.Screen.width()),
int.max(500,Gdk.Screen.height() - 200)
);
this.el.show_all();
public void show () {
this.el.set_deletable(true);
this.el.set_gravity(Gdk.Gravity.NORTH);
- this.el.move((Gdk.Screen.width() / 2 ) - (int.max(1280,Gdk.Screen.width() / 2) ,0);
+ this.el.move((Gdk.Screen.width() / 2 ) - (int.max(1280,Gdk.Screen.width()) / 2) ,0);
this.el.set_keep_above(true);
this.el.set_default_size(
int.max(1280,Gdk.Screen.width()),
//listeners
this.el.row_activated.connect( (path, col) => {
- if (col.title != "Current Branch") {
+ if (col.title == "Auto Commit" || col.title == "Auto Push" || col.title == "Auto Branch") {
return;
}