[gnome-boxes/wip/show-ip: 3/9] util-app: Fetch networking info too



commit 970c7614067fe0b7f4273ba8de9da5344c241c30
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Fri Jul 3 14:37:51 2015 +0100

    util-app: Fetch networking info too
    
    On creating the libvirt system connection, also fetch info on networks
    managed by this connection along with domains.
    
    This will be needed by the following patches to get the IP address of
    guest.

 src/util-app.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/util-app.vala b/src/util-app.vala
index bae728e..0f13a6b 100644
--- a/src/util-app.vala
+++ b/src/util-app.vala
@@ -176,6 +176,7 @@ namespace Boxes {
 
         debug ("Connected to system libvirt, now fetching domains..");
         yield system_virt_connection.fetch_domains_async (null);
+        yield system_virt_connection.fetch_networks_async (null);
 
         return system_virt_connection;
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]