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:
88f5f59
)
tests/status_icon.js
author
Alan Knowles
<alan@akbkhome.com>
Mon, 12 Jul 2010 09:37:47 +0000
(17:37 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Mon, 12 Jul 2010 09:37:47 +0000
(17:37 +0800)
tests/status_icon.js
patch
|
blob
|
history
diff --git
a/tests/status_icon.js
b/tests/status_icon.js
index
a3bd1a0
..
5728074
100644
(file)
--- a/
tests/status_icon.js
+++ b/
tests/status_icon.js
@@
-28,11
+28,11
@@
function active(status_icon, button, time, data)
// GtkMenu.popup, calling the Gtk.StatusIcon.position_menu function
//
var area = new Gdk.Rectangle();
- var orient = new Gtk.Orientation();
+
var ret = {};
status_icon.get_geometry(ret, area, orient);
console.log(JSON.stringify(area));
- console.log(JSON.stringify(
orien
t));
+ console.log(JSON.stringify(
re
t));
menu.popup(null, null, Gtk.StatusIcon.position_menu, status_icon, button, time);
}