projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
2a4f260
)
Clones.bjs
author
Alan Knowles
<alan@roojs.com>
Mon, 24 Dec 2018 07:39:29 +0000
(15:39 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 24 Dec 2018 07:39:29 +0000
(15:39 +0800)
Clones.vala
Clones.bjs
patch
|
blob
|
history
Clones.vala
patch
|
blob
|
history
diff --git
a/Clones.bjs
b/Clones.bjs
index
4c2fb9a
..
52d7d92
100644
(file)
--- a/
Clones.bjs
+++ b/
Clones.bjs
@@
-13,9
+13,9
@@
"response" : "(self, response_id) => { \n \n this.el.hide();\n \n}"
},
"boolean deletable" : true,
"response" : "(self, response_id) => { \n \n this.el.hide();\n \n}"
},
"boolean deletable" : true,
- "| void loadAndShow" : "() {\n\t\n\t_this.el.show_all();\n\t\n\t_this.toolbar.el.hide();\n\t_this.scrolled.el.hide();\n\t_this.spinner.el.show();\n\t_this.spinner.el.start();\t\n\t\n\tGitRepo.updateAll(\"show_clones\");\n\tthis.el.set_deletable(true);\n this.el.set_gravity(Gdk.Gravity.NORTH);\n this.el.move((Gdk.Screen.width() / 2 ) -400 ,0);\n this.el.set_keep_above(true);\n this.el.set_default_size(\n\t\t\tint.min(1024,Gdk.Screen.width()),\n\t\t\tint.max(500,Gdk.Screen.height() - 300)\n\t);\n \n
this.el.show_all();
\n\t\n\t\n}\n\n",
+ "| void loadAndShow" : "() {\n\t\n\t_this.el.show_all();\n\t\n\t_this.toolbar.el.hide();\n\t_this.scrolled.el.hide();\n\t_this.spinner.el.show();\n\t_this.spinner.el.start();\t\n\t\n\tGitRepo.updateAll(\"show_clones\");\n\tthis.el.set_deletable(true);\n this.el.set_gravity(Gdk.Gravity.NORTH);\n this.el.move((Gdk.Screen.width() / 2 ) -400 ,0);\n this.el.set_keep_above(true);\n this.el.set_default_size(\n\t\t\tint.min(1024,Gdk.Screen.width()),\n\t\t\tint.max(500,Gdk.Screen.height() - 300)\n\t);\n \n \n\t\n\t\n}\n\n",
"default_width" : 1024,
"default_width" : 1024,
- "| void show" : "() {\n\n
\n\t_this.spinner.el.stop();\n\t_this.spinner.el.hide();\t\n\t_this.toolbar.el.show();\n\t_this.scrolled.el.show();\t\n \n this.el.set_deletable(true);\n this.el.set_gravity(Gdk.Gravity.NORTH);\n this.el.move((Gdk.Screen.width() / 2 ) -400 ,0);\n this.el.set_keep_above(true);\n this.el.set_default_size(\n\t\t\tint.min(1024,Gdk.Screen.width()),\n\t\t\tint.max(500,Gdk.Screen.height() - 300)\n\t);\n \n this.el.show_all();\n _this.reposStore.load();\n \n
GLib.debug(\"show clones = run?\");\n this.el.run();\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
this.el.show_all();\n\t_this.spinner.el.stop();\n\t_this.spinner.el.hide();\t\n\t_this.toolbar.el.show();\n\t_this.scrolled.el.show();\t\n \n this.el.set_deletable(true);\n this.el.set_gravity(Gdk.Gravity.NORTH);\n this.el.move((Gdk.Screen.width() / 2 ) -400 ,0);\n this.el.set_keep_above(true);\n this.el.set_default_size(\n\t\t\tint.min(1024,Gdk.Screen.width()),\n\t\t\tint.max(500,Gdk.Screen.height() - 300)\n\t);\n \n\n _this.reposStore.load();\n \n
GLib.debug(\"show clones = run?\");\n this.el.run();\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",
"title" : "Manage Clones",
"xtype" : "Dialog",
"default_height" : 500,
"title" : "Manage Clones",
"xtype" : "Dialog",
"default_height" : 500,
diff --git
a/Clones.vala
b/Clones.vala
index
f118335
..
e40ff4b
100644
(file)
--- a/
Clones.vala
+++ b/
Clones.vala
@@
-88,13
+88,13
@@
public class Clones : Object
int.max(500,Gdk.Screen.height() - 300)
);
int.max(500,Gdk.Screen.height() - 300)
);
- this.el.show_all();
+
}
public void show () {
}
public void show () {
-
+ this.el.show_all();
_this.spinner.el.stop();
_this.spinner.el.hide();
_this.toolbar.el.show();
_this.spinner.el.stop();
_this.spinner.el.hide();
_this.toolbar.el.show();
@@
-109,10
+109,10
@@
public class Clones : Object
int.max(500,Gdk.Screen.height() - 300)
);
int.max(500,Gdk.Screen.height() - 300)
);
- this.el.show_all();
+
_this.reposStore.load();
_this.reposStore.load();
-
GLib.debug("show clones = run?");
+ GLib.debug("show clones = run?");
this.el.run();
// load clones..
// this.get('/reposStore').load();
this.el.run();
// load clones..
// this.get('/reposStore').load();