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:
parent
ade0c16015
commit
b9e25100f5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue