fix argument error when right-clicking hw list to popup menu

Traceback (most recent call last):
  File "../virt-manager/virtManager/details.py", line 1072, in popup_addhw_menu
    self.addhwmenu.popup(None, None, None, 0, event.time)
TypeError: popup() takes exactly 7 arguments (6 given)
This commit is contained in:
Guannan Ren 2013-04-12 20:38:36 +08:00 committed by Cole Robinson
parent cdac966360
commit 0a9f58a064

View File

@ -1077,7 +1077,7 @@ class vmmDetails(vmmGObjectUI):
if event.button != 3:
return
self.addhwmenu.popup(None, None, None, 0, event.time)
self.addhwmenu.popup(None, None, None, None, 0, event.time)
def build_serial_list(self):
ret = []