s/essid/ssid

This commit is contained in:
Marco Pesenti Gritti 2007-02-25 21:19:18 +01:00
parent a9c4e4b8e5
commit 69b48ade35
2 changed files with 3 additions and 3 deletions

View File

@ -76,7 +76,7 @@ class Network(gobject.GObject):
gobject.TYPE_NONE, ([])),
'strength-changed': (gobject.SIGNAL_RUN_FIRST,
gobject.TYPE_NONE, ([])),
'essid-changed' : (gobject.SIGNAL_RUN_FIRST,
'ssid-changed' : (gobject.SIGNAL_RUN_FIRST,
gobject.TYPE_NONE, ([]))
}
@ -111,7 +111,7 @@ class Network(gobject.GObject):
self._ssid, self._mode, self._strength))
self.emit('strength-changed')
self.emit('essid-changed')
self.emit('ssid-changed')
def _update_error_cb(self, err):
logging.debug("Net(%s): failed to update. (%s)" % (self._op, err))

View File

@ -37,7 +37,7 @@ class AccessPointModel(gobject.GObject):
self._nm_network.connect('strength-changed',
self._strength_changed_cb)
self._nm_network.connect('essid-changed',
self._nm_network.connect('ssid-changed',
self._essid_changed_cb)
def _strength_changed_cb(self, nm_network):