diff --git a/shell/hardware/nmclient.py b/shell/hardware/nmclient.py index e100a1fb..a60ba238 100644 --- a/shell/hardware/nmclient.py +++ b/shell/hardware/nmclient.py @@ -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)) diff --git a/shell/model/MeshModel.py b/shell/model/MeshModel.py index 30358c72..8fd74b27 100644 --- a/shell/model/MeshModel.py +++ b/shell/model/MeshModel.py @@ -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):