diff options
author | Cole Robinson <crobinso@redhat.com> | 2013-07-16 17:15:51 -0400 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2013-07-23 17:34:32 -0400 |
commit | 14103f175dc1ae5932040671dfb68d09b787a1c6 (patch) | |
tree | 7e2746d036680e33975f098aa8b8bf1c44584cea /virtManager/connection.py | |
parent | f37d4d010a8a6236c7538ca473697ef9530a2a8c (diff) | |
download | virt-manager-14103f175dc1ae5932040671dfb68d09b787a1c6.tar.gz |
VirtualConnection: Allow setting a display name for fake URIs
Diffstat (limited to 'virtManager/connection.py')
-rw-r--r-- | virtManager/connection.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/virtManager/connection.py b/virtManager/connection.py index 4bb6bac9..6ede04b9 100644 --- a/virtManager/connection.py +++ b/virtManager/connection.py @@ -382,6 +382,9 @@ class vmmConnection(vmmGObject): else: hv += " %s" % os.path.basename(path) + if self._backend.fake_name(): + hv = self._backend.fake_name() + return "%s (%s)" % (rest, hv) def get_pretty_desc_inactive(self, shorthost=True, transport=False): |