NewBranch.bjs
authorAlan Knowles <alan@roojs.com>
Tue, 30 Oct 2018 09:12:31 +0000 (17:12 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 30 Oct 2018 09:12:31 +0000 (17:12 +0800)
NewBranch.vala
Clones.bjs
Clones.vala

NewBranch.bjs
NewBranch.vala

index 103ea70..dd8877a 100644 (file)
@@ -17,7 +17,7 @@
    "$ deletable" : true,
    "title" : "Create a working branch ",
    "xtype" : "Dialog",
-   "|   void show" : "( ) \n{\n     // this.el.set_gravity(Gdk.Gravity.NORTH);\n    this.el.move(Gdk.Screen.width() / 2 - 250 ,0);\n    this.el.show_all();\n      \n}",
+   "|   void show" : "( ) \n{\n     // this.el.set_gravity(Gdk.Gravity.NORTH);\n    this.el.move((Gdk.Screen.width() / 2)- 250 ,0);\n    this.el.show_all();\n      \n}",
    "default_height" : 200,
    "$ modal" : true,
    "$ xns" : "Gtk",
index 1bf1228..187ea62 100644 (file)
@@ -63,7 +63,7 @@ public class NewBranch : Object
     public   void show ( ) 
     {
          // this.el.set_gravity(Gdk.Gravity.NORTH);
-        this.el.move(Gdk.Screen.width() / 2 - 250 ,0);
+        this.el.move((Gdk.Screen.width() / 2)- 250 ,0);
         this.el.show_all();
           
     }