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:
c5030ae
)
Builder/RightGtkView.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 13 May 2010 10:51:47 +0000
(18:51 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 13 May 2010 10:51:47 +0000
(18:51 +0800)
Builder/RightGtkView.js
patch
|
blob
|
history
diff --git
a/Builder/RightGtkView.js
b/Builder/RightGtkView.js
index
2636d65
..
5b23391
100755
(executable)
--- a/
Builder/RightGtkView.js
+++ b/
Builder/RightGtkView.js
@@
-238,8
+238,14
@@
RightGtkView = new XObject({
print(e.toString());
return;
}
print(e.toString());
return;
}
- x.get_global_object()._top.el.show_all();
+
+ var _top = x.get_global_object()._top;
+ _top.el.set_screen(Gdk.Screen.get_default()); // just in case..
+ _top.el.show_all();
+ if (_top.el.popup) {
+ _top.el.popup(null, null, null, null, 3, null);
+ }
},
buildJS: function(data) {
},
buildJS: function(data) {
@@
-286,10
+292,11
@@
RightGtkView = new XObject({
_top.el.set_screen(Gdk.Screen.get_default()); // just in case..
_top.el.show_all();
_top.el.set_screen(Gdk.Screen.get_default()); // just in case..
_top.el.show_all();
+ if (_top.el.popup) {
+ _top.el.popup(null, null, null, null, 3, null);
+ }
- _top.el.popup(null, null, null, null, 3, null);
-
var pb = _top.el.get_snapshot(r);
if (!pb) {
var pb = _top.el.get_snapshot(r);
if (!pb) {