From 7474218b87fe11bfa17bab8e6bb867b1a14f1844 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 30 Oct 2018 17:06:39 +0800 Subject: [PATCH] Clones.bjs Clones.vala --- Clones.bjs | 2 +- Clones.vala | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Clones.bjs b/Clones.bjs index 0c223b2a..68cb9b2d 100644 --- a/Clones.bjs +++ b/Clones.bjs @@ -13,7 +13,7 @@ "response" : "(self, response_id) => { \n \n this.el.hide();\n \n}" }, "default_width" : 800, - "| void show" : "() {\n\n \n this.el.set_deletable(false);\n this.el.set_gravity(Gdk.Gravity.NORTH);\n this.el.move(Gdk.Screen.width() / 2 ,0);\n this.el.show_all();\n _this.reposStore.load();\n // load clones..\n// this.get('/reposStore').load();\n \n //this.get('/ok_button').el.set_sensitive(false);\n \n // block until we return.\n// var run_ret = this.el.run();\n// if (run_ret < 1 ) {\n// return \"DONE\";\n// }\n// print(\"RUN RETURN : \" + run_ret);\n// return \"DONE\";\n //print(JSON.stringify(this.get('bug').getValue()));\n // return this.get('bug').getValue();\n //this.success = c.success;\n}\n", + "| void show" : "() {\n\n \n this.el.set_deletable(false);\n this.el.set_gravity(Gdk.Gravity.NORTH);\n this.el.move((Gdk.Screen.width() / 2 ) -400 ,0);\n this.el.show_all();\n _this.reposStore.load();\n // load clones..\n// this.get('/reposStore').load();\n \n //this.get('/ok_button').el.set_sensitive(false);\n \n // block until we return.\n// var run_ret = this.el.run();\n// if (run_ret < 1 ) {\n// return \"DONE\";\n// }\n// print(\"RUN RETURN : \" + run_ret);\n// return \"DONE\";\n //print(JSON.stringify(this.get('bug').getValue()));\n // return this.get('bug').getValue();\n //this.success = c.success;\n}\n", "$ deletable" : true, "title" : "Manage Clones", "xtype" : "Dialog", diff --git a/Clones.vala b/Clones.vala index 01c26234..5543108a 100644 --- a/Clones.vala +++ b/Clones.vala @@ -71,7 +71,7 @@ public class Clones : Object this.el.set_deletable(false); this.el.set_gravity(Gdk.Gravity.NORTH); - this.el.move(Gdk.Screen.width() / 2 ,0); + this.el.move((Gdk.Screen.width() / 2 ) -400 ,0); this.el.show_all(); _this.reposStore.load(); // load clones.. -- 2.39.2