File virtman-autoconnect.diff of Package virt-manager

Index: virt-manager-0.8.5/src/virtManager/engine.py
===================================================================
--- virt-manager-0.8.5.orig/src/virtManager/engine.py
+++ virt-manager-0.8.5/src/virtManager/engine.py
@@ -719,7 +719,7 @@ class vmmEngine(gobject.GObject):
         self.emit("connection-added", conn)
         self.config.add_connection(conn.get_uri())
         if autoconnect:
-            conn.set_autoconnect(True)
+            self.connect_to_uri(uri)
 
         return conn