From 07ccae31d310464e373c890897199f5a64b379e7 Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Tue, 10 Nov 2009 12:04:38 -0500 Subject: [PATCH] systray: Use gtk.status_icon_position_menu for proper menu positioning. --- src/virtManager/systray.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/virtManager/systray.py b/src/virtManager/systray.py index 402a34396..e6d7b7f9e 100644 --- a/src/virtManager/systray.py +++ b/src/virtManager/systray.py @@ -222,7 +222,8 @@ class vmmSystray(gobject.GObject): if button != 3: return - self.systray_menu.popup(None, None, None, 0, event_time) + self.systray_menu.popup(None, None, gtk.status_icon_position_menu, + 0, event_time, self.systray_icon) def conn_added(self, engine, conn): conn.connect("vm-added", self.vm_added)