From 0a9f58a0641cdd24a53368aef1007ca4cc775606 Mon Sep 17 00:00:00 2001 From: Guannan Ren Date: Fri, 12 Apr 2013 20:38:36 +0800 Subject: [PATCH] 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) --- virtManager/details.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/virtManager/details.py b/virtManager/details.py index 56a2a5895..29b062715 100644 --- a/virtManager/details.py +++ b/virtManager/details.py @@ -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 = []