projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
79a6436
)
Sample/Window.js
author
Alan Knowles
<alan@akbkhome.com>
Mon, 1 Nov 2010 06:17:40 +0000
(14:17 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Mon, 1 Nov 2010 06:17:40 +0000
(14:17 +0800)
Sample/Window.js
patch
|
blob
|
history
diff --git
a/Sample/Window.js
b/Sample/Window.js
index
2fa4566
..
e0551b9
100644
(file)
--- a/
Sample/Window.js
+++ b/
Sample/Window.js
@@
-480,7
+480,7
@@
Window=new XObject({
var res = {};
this.get('/LeftTree.view').el.get_path_at_pos(ev.button.x,ev.button.y, res);
var res = {};
this.get('/LeftTree.view').el.get_path_at_pos(ev.button.x,ev.button.y, res);
- if (!this.get('/LeftTreeMenu').el)
this.get('/LeftTreeMenu').init();
+ if (!this.get('/LeftTreeMenu').el)
{ this.get('/LeftTreeMenu').init(); }
this.get('/LeftTreeMenu').el.set_screen(Gdk.Screen.get_default());
this.get('/LeftTreeMenu').el.show_all();
this.get('/LeftTreeMenu').el.set_screen(Gdk.Screen.get_default());
this.get('/LeftTreeMenu').el.show_all();
@@
-2197,8
+2197,14
@@
Window=new XObject({
]);
},
load : function(ar) {
]);
},
load : function(ar) {
+ // might casue problesm..
+ this.get('/Editor.RightEditor').save();
+ this.get('/Editor').el.hide();
+ this.get('/Editor').activePath = false;
+
+
this.el.clear();
this.el.clear();
-
+
//this.get('/RightEditor').el.hide();
if (ar === false) {
return ;
//this.get('/RightEditor').el.hide();
if (ar === false) {
return ;