Do not try to add access points on model removed signal!

Some fixes to access point state.
This commit is contained in:
Marco Pesenti Gritti
2007-03-07 14:23:44 +01:00
parent ce6d21075f
commit eefad0aeed
4 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -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]