virtManager: show the VM title in the manager window

If a title is defined for a VM, append it to the name of the VM.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
Giuseppe Scrivano 2013-09-10 14:40:06 +02:00
parent ade0c16015
commit b9e25100f5
1 changed files with 2 additions and 2 deletions

View File

@ -646,7 +646,7 @@ class vmmManager(vmmGObjectUI):
color = self._build_conn_color(conn)
os_icon = None
else:
name = vm.get_name()
name = vm.get_name_with_title()
status = vm.run_status()
markup = self._build_vm_markup(name, status)
status_icon = vm.run_status_icon_name()
@ -761,7 +761,7 @@ class vmmManager(vmmGObjectUI):
return
try:
name = vm.get_name()
name = vm.get_name_with_title()
status = vm.run_status()
row[ROW_SORT_KEY] = name