mirror of
https://github.com/virt-manager/virt-manager.git
synced 2026-07-29 23:58:20 -05:00
connection: Remove some outdated pretty hv labels
And also the embedded label, our default behavior covers this well enough for what is likely to be an obscure case Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
@@ -377,18 +377,12 @@ class vmmConnection(vmmGObject):
|
|||||||
|
|
||||||
pretty_map = {
|
pretty_map = {
|
||||||
"esx": "ESX",
|
"esx": "ESX",
|
||||||
"gsx": "GSX",
|
|
||||||
"libxl": "libxl",
|
|
||||||
"lxc": "LXC",
|
"lxc": "LXC",
|
||||||
"openvz": "OpenVZ",
|
"openvz": "OpenVZ",
|
||||||
"phyp": "phyp",
|
|
||||||
"qemu": "QEMU/KVM",
|
"qemu": "QEMU/KVM",
|
||||||
"test": "test",
|
"vbox": "Virtualbox",
|
||||||
"uml": "UML",
|
|
||||||
"vbox": "VBox",
|
|
||||||
"vmware": "VMWare",
|
"vmware": "VMWare",
|
||||||
"xen": "Xen",
|
"xen": "Xen",
|
||||||
"xenapi": "XenAPI",
|
|
||||||
}
|
}
|
||||||
|
|
||||||
hv = pretty_map.get(self.get_driver(), self.get_driver())
|
hv = pretty_map.get(self.get_driver(), self.get_driver())
|
||||||
@@ -399,8 +393,6 @@ class vmmConnection(vmmGObject):
|
|||||||
|
|
||||||
if path == "/session":
|
if path == "/session":
|
||||||
ret += " " + _("User session")
|
ret += " " + _("User session")
|
||||||
elif path == "/embed":
|
|
||||||
ret += " " + _("Embedded session")
|
|
||||||
elif (path and path != "/system" and os.path.basename(path)):
|
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)
|
||||||
|
|||||||
Reference in New Issue
Block a user