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:
dfcb834
)
Builder/RightGtkView.js
author
Alan Knowles
<alan@akbkhome.com>
Wed, 19 May 2010 11:49:15 +0000
(19:49 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Wed, 19 May 2010 11:49:15 +0000
(19:49 +0800)
Builder/RightGtkView.js
patch
|
blob
|
history
diff --git
a/Builder/RightGtkView.js
b/Builder/RightGtkView.js
index
71abff8
..
92e79fe
100755
(executable)
--- a/
Builder/RightGtkView.js
+++ b/
Builder/RightGtkView.js
@@
-357,7
+357,7
@@
RightGtkView = new XObject({
return;
}
- var r = new Gdk.Rectangle();
+
//
var r = new Gdk.Rectangle();
var _top = x.get_global_object()._top;
//_top.el.set_screen(Gdk.Screen.get_default()); // just in case..
@@
-366,8
+366,8
@@
RightGtkView = new XObject({
_top.el.popup(null, null, null, null, 3, null);
}
- var pb = _top.el.get_pixmap(
r
);
-
+ var pb = _top.el.get_pixmap();
+ var r = pb.get_size();
//var pb = _top.el.get_snapshot(r);
if (!pb) {
return;