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: if conn is None:
return return
result = self.err.yes_no(_("This will remove the connection \"%s\"," result = self.err.yes_no(_("This will remove the connection:\n\n%s\n\n"
"are you sure?") % "Are you sure?") % conn.get_uri())
self.rows[conn.get_uri()][ROW_NAME])
if not result: if not result:
return return
self.engine.remove_connection(conn.get_uri()) self.engine.remove_connection(conn.get_uri())