projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
23869c9
)
NewBranch.bjs
author
Alan Knowles
<alan@roojs.com>
Tue, 30 Oct 2018 09:06:17 +0000
(17:06 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 30 Oct 2018 09:06:17 +0000
(17:06 +0800)
NewBranch.vala
NewBranch.bjs
patch
|
blob
|
history
NewBranch.vala
patch
|
blob
|
history
diff --git
a/NewBranch.bjs
b/NewBranch.bjs
index
8933acf
..
09156f6
100644
(file)
--- a/
NewBranch.bjs
+++ b/
NewBranch.bjs
@@
-17,7
+17,7
@@
"$ deletable" : true,
"title" : "Create a working branch ",
"xtype" : "Dialog",
"$ deletable" : true,
"title" : "Create a working branch ",
"xtype" : "Dialog",
- "| void show" : "( ) \n{\n \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 ,0);
\n this.el.show_all();\n \n}",
"default_height" : 200,
"$ modal" : true,
"$ xns" : "Gtk",
"default_height" : 200,
"$ modal" : true,
"$ xns" : "Gtk",
diff --git
a/NewBranch.vala
b/NewBranch.vala
index
a39b2ea
..
b39edb3
100644
(file)
--- a/
NewBranch.vala
+++ b/
NewBranch.vala
@@
-62,7
+62,8
@@
public class NewBranch : Object
// user defined functions
public void show ( )
{
// user defined functions
public void show ( )
{
-
+ // this.el.set_gravity(Gdk.Gravity.NORTH);
+ this.el.move(Gdk.Screen.width() / 2 ,0);
this.el.show_all();
}
this.el.show_all();
}