diff options
Diffstat (limited to 'shell/hardware/nmclient.py')
-rw-r--r-- | shell/hardware/nmclient.py | 3 |
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] |