MergeBranch.bjs
[gitlive] / Clones.vala
index 05e6021..123d5ae 100644 (file)
@@ -75,7 +75,7 @@ public class Clones : Object
         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();
@@ -349,7 +349,7 @@ public class Clones : Object
             //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;
                }