Fix other popup menus after gtk3 conversion

This commit is contained in:
Cole Robinson 2013-04-14 13:16:02 -04:00
parent 0a9f58a064
commit 079835bfaf
3 changed files with 5 additions and 5 deletions

View File

@ -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(

View File

@ -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()

View File

@ -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()