Re: [PATCH 2/2] fix argument error when right-clicking hw list to popup menu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/12/2013 08:38 AM, Guannan Ren wrote:
> 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 bd772ce..e11c3fe 100644
> --- a/virtManager/details.py
> +++ b/virtManager/details.py
> @@ -1069,7 +1069,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 = []
> 

Thanks, applied.

There were a couple other similar broken popups, I fixed those as well.

- Cole

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list




[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux