mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-11 05:17:59 +03:00
spice: s/OK/Close/ in USB redirection dialog (bz 1465907)
To make it more clear that USB redirection happens immediately https://bugzilla.redhat.com/show_bug.cgi?id=1465907
This commit is contained in:
parent
a0a8470362
commit
7d03190cb5
@ -1504,7 +1504,8 @@ class vmmDetails(vmmGObjectUI):
|
||||
|
||||
spice_usbdev_widget.show()
|
||||
spice_usbdev_dialog.show_info(_("Select USB devices for redirection"),
|
||||
widget=spice_usbdev_widget)
|
||||
widget=spice_usbdev_widget,
|
||||
buttons=Gtk.ButtonsType.CLOSE)
|
||||
|
||||
def _take_screenshot(self):
|
||||
image = self.console.details_viewer_get_pixbuf()
|
||||
|
@ -151,9 +151,9 @@ class vmmErrorDialog(vmmGObject):
|
||||
str(title), None, modal)
|
||||
return False
|
||||
|
||||
def show_info(self, text1, text2=None, title="", widget=None, modal=True):
|
||||
def show_info(self, text1, text2=None, title="", widget=None, modal=True,
|
||||
buttons=Gtk.ButtonsType.OK):
|
||||
dtype = Gtk.MessageType.INFO
|
||||
buttons = Gtk.ButtonsType.OK
|
||||
self._simple_dialog(dtype, buttons, text1, text2, title, widget, modal)
|
||||
return False
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user