console: Fix graphics_type_pretty invocation

This commit is contained in:
Cole Robinson 2019-06-16 20:19:26 -04:00
parent 337e84083f
commit e25318e037
1 changed files with 3 additions and 1 deletions

View File

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