mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-08 15:13:11 -06:00
Fix other popup menus after gtk3 conversion
This commit is contained in:
parent
0a9f58a064
commit
079835bfaf
@ -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(
|
||||
|
@ -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()
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user