s/essid/ssid
This commit is contained in:
parent
a9c4e4b8e5
commit
69b48ade35
@ -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))
|
||||
|
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user