Improve connection delete confirmation message.

This commit is contained in:
Cole Robinson 2009-07-14 17:10:57 -04:00
parent 93eca80e18
commit b96811b736

View File

@ -821,9 +821,8 @@ class vmmManager(gobject.GObject):
if conn is None:
return
result = self.err.yes_no(_("This will remove the connection \"%s\","
"are you sure?") %
self.rows[conn.get_uri()][ROW_NAME])
result = self.err.yes_no(_("This will remove the connection:\n\n%s\n\n"
"Are you sure?") % conn.get_uri())
if not result:
return
self.engine.remove_connection(conn.get_uri())