mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
connection: Tweak pretty_name for Xen connections
This commit is contained in:
parent
477e82b35a
commit
71362cfb7e
@ -372,7 +372,7 @@ class vmmConnection(vmmGObject):
|
|||||||
"uml" : "UML",
|
"uml" : "UML",
|
||||||
"vbox" : "VBox",
|
"vbox" : "VBox",
|
||||||
"vmware" : "VMWare",
|
"vmware" : "VMWare",
|
||||||
"xen" : "xen",
|
"xen" : "Xen",
|
||||||
"xenapi" : "XenAPI",
|
"xenapi" : "XenAPI",
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -385,7 +385,7 @@ class vmmConnection(vmmGObject):
|
|||||||
|
|
||||||
if is_session:
|
if is_session:
|
||||||
ret += " User session"
|
ret += " User session"
|
||||||
elif path != "/system":
|
elif (path and path != "/system" and os.path.basename(path)):
|
||||||
# Used by test URIs to report what XML file they are using
|
# Used by test URIs to report what XML file they are using
|
||||||
ret += " %s" % os.path.basename(path)
|
ret += " %s" % os.path.basename(path)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user