Fix strength propagation
This commit is contained in:
@@ -37,7 +37,7 @@ class AccessPointModel(gobject.GObject):
|
||||
self._strength_changed_cb)
|
||||
|
||||
def _strength_changed_cb(self, nm_network):
|
||||
self.notity('strength')
|
||||
self.notify('strength')
|
||||
|
||||
def get_id(self):
|
||||
return self._nm_network.get_op()
|
||||
|
||||
@@ -15,8 +15,8 @@ class Device(device.Device):
|
||||
self._nm_device.connect('strength-changed',
|
||||
self._strength_changed_cb)
|
||||
|
||||
def _strength_changed_cb(self, nm_device):
|
||||
self.notity('strength')
|
||||
def _strength_changed_cb(self, nm_device, strength):
|
||||
self.notify('strength')
|
||||
|
||||
def do_get_property(self, pspec):
|
||||
if pspec.name == 'strength':
|
||||
|
||||
Reference in New Issue
Block a user