details: List 'Display SDL/VNC/etc' instead of 'Display 0/1/etc'

This commit is contained in:
Cole Robinson 2010-06-14 13:16:37 -04:00
parent 9666ddbc02
commit 67c2afc2f3

View File

@ -2144,7 +2144,7 @@ class vmmDetails(gobject.GObject):
for gfxinfo in self.vm.get_graphics_devices():
currentGraphics[gfxinfo[1]] = 1
update_hwlist(HW_LIST_TYPE_GRAPHICS, gfxinfo,
_("Display %s") % (int(gfxinfo[1]) + 1),
_("Display %s") % (str(gfxinfo[2]).upper()),
"video-display")
# Populate list of sound devices