From 3d4b5ded59c71692ba4a717214afa43d03d1a2bc Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 30 Oct 2018 17:12:31 +0800 Subject: [PATCH] NewBranch.bjs NewBranch.vala Clones.bjs Clones.vala --- NewBranch.bjs | 2 +- NewBranch.vala | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/NewBranch.bjs b/NewBranch.bjs index 103ea705..dd8877a9 100644 --- a/NewBranch.bjs +++ b/NewBranch.bjs @@ -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", diff --git a/NewBranch.vala b/NewBranch.vala index 1bf1228e..187ea62b 100644 --- a/NewBranch.vala +++ b/NewBranch.vala @@ -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(); } -- 2.39.2