Add uri to connection failure dialog.

This commit is contained in:
Cole Robinson
2008-08-18 11:02:56 -04:00
parent 703ed89c70
commit 0d7c42d802

View File

@@ -1068,10 +1068,13 @@ class vmmManager(gobject.GObject):
details,
title=_("Virtual Machine Manager Connection Failure"))
else:
self.err.show_err(_("Unable to open a connection to the libvirt management daemon.\n\n" +
"Verify that:\n" +
" - The 'libvirtd' daemon has been started\n"),
self.err.show_err(_("Unable to open a connection to the libvirt "
"management daemon.\n\n" +
"Libvirt URI is: %s\n\n" % conn.get_uri() +
"Verify that:\n" +
" - The 'libvirtd' daemon has been started\n"),
details,
title=_("Virtual Machine Manager Connection Failure"))
title=_("Virtual Machine Manager Connection "
"Failure"))
gobject.type_register(vmmManager)