projects
/
app.Builder.js
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests/status_icon.js
[app.Builder.js]
/
tests
/
status_icon.js
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();
// 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));
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);
}
menu.popup(null, null, Gtk.StatusIcon.position_menu, status_icon, button, time);
}