From 079835bfafe5deff672ce626772818d90daf6c54 Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Sun, 14 Apr 2013 13:16:02 -0400 Subject: [PATCH] Fix other popup menus after gtk3 conversion --- virtManager/console.py | 6 +++--- virtManager/host.py | 2 +- virtManager/serialcon.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/virtManager/console.py b/virtManager/console.py index dc73d739a..87da48872 100644 --- a/virtManager/console.py +++ b/virtManager/console.py @@ -706,9 +706,9 @@ class vmmConsolePages(vmmGObjectUI): return x, y + height, True - self.keycombo_menu.popup(None, None, menu_location, 0, - Gtk.get_current_event_time(), - self.fs_toolbar) + self.keycombo_menu.popup(None, None, menu_location, + self.fs_toolbar, 0, + Gtk.get_current_event_time()) self.send_key_button = Gtk.ToolButton() self.send_key_button.set_icon_name( diff --git a/virtManager/host.py b/virtManager/host.py index ed83807fd..038cc40e7 100644 --- a/virtManager/host.py +++ b/virtManager/host.py @@ -940,7 +940,7 @@ class vmmHost(vmmGObjectUI): if event.button != 3: return - self.volmenu.popup(None, None, None, 0, event.time) + self.volmenu.popup(None, None, None, None, 0, event.time) def copy_vol_path(self, ignore=None): vol = self.current_vol() diff --git a/virtManager/serialcon.py b/virtManager/serialcon.py index beccfb197..b02a8be71 100644 --- a/virtManager/serialcon.py +++ b/virtManager/serialcon.py @@ -426,7 +426,7 @@ class vmmSerialConsole(vmmGObject): self.serial_copy.set_sensitive(True) else: self.serial_copy.set_sensitive(False) - self.serial_popup.popup(None, None, None, 0, event.time) + self.serial_popup.popup(None, None, None, None, 0, event.time) def serial_copy_text(self, src_ignore, terminal): terminal.copy_clipboard()