Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/hardware/nmclient.py
diff options
context:
space:
mode:
Diffstat (limited to 'shell/hardware/nmclient.py')
-rw-r--r--shell/hardware/nmclient.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/shell/hardware/nmclient.py b/shell/hardware/nmclient.py
index d1189f0..910b682 100644
--- a/shell/hardware/nmclient.py
+++ b/shell/hardware/nmclient.py
@@ -218,6 +218,9 @@ class Device(gobject.GObject):
def get_networks(self):
return self._networks.values()
+ def get_active_network(self):
+ return self.get_network(self._active_net)
+
def get_network(self, op):
if self._networks.has_key(op):
return self._networks[op]