mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-08 21:18:04 +03:00
console: Fix graphics_type_pretty invocation
This commit is contained in:
parent
337e84083f
commit
e25318e037
@ -947,11 +947,13 @@ class vmmConsolePages(vmmGObjectUI):
|
||||
radio=False, sensitive=False)
|
||||
return
|
||||
|
||||
from .gfxdetails import vmmGraphicsDetails
|
||||
|
||||
active = (self.widget("console-pages").get_current_page() !=
|
||||
_CONSOLE_PAGE_SERIAL)
|
||||
for idx, dev in enumerate(devs):
|
||||
label = (_("Graphical Console") + " " +
|
||||
dev.pretty_type_simple(dev.type))
|
||||
vmmGraphicsDetails.graphics_pretty_type_simple(dev.type))
|
||||
|
||||
sensitive = True
|
||||
tooltip = None
|
||||
|
Loading…
Reference in New Issue
Block a user