mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
systray: Use gtk.status_icon_position_menu for proper menu positioning.
This commit is contained in:
parent
abc84b3569
commit
07ccae31d3
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user