Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/model
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpg@redhat.com>2007-03-07 13:23:44 (GMT)
committer Marco Pesenti Gritti <mpg@redhat.com>2007-03-07 13:23:44 (GMT)
commiteefad0aeedf7fe6bea68dd0f0e3b33db2b24b223 (patch)
treea189253ced040de59794edf766fd7848d088d466 /shell/model
parentce6d21075f0732c23b180b9249e34d5466b8690a (diff)
Do not try to add access points on model removed signal!
Some fixes to access point state.
Diffstat (limited to 'shell/model')
-rw-r--r--shell/model/accesspointmodel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/model/accesspointmodel.py b/shell/model/accesspointmodel.py
index 02899c0..9762d2c 100644
--- a/shell/model/accesspointmodel.py
+++ b/shell/model/accesspointmodel.py
@@ -74,5 +74,5 @@ class AccessPointModel(gobject.GObject):
elif pspec.name == 'name':
return self._nm_network.get_ssid()
elif pspec.name == 'state':
- nm_state = self._nm_device.get_state()
+ nm_state = self._nm_network.get_state()
return _nm_state_to_state[nm_state]