Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/model
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpg@redhat.com>2007-02-25 14:05:56 (GMT)
committer Marco Pesenti Gritti <mpg@redhat.com>2007-02-25 14:05:56 (GMT)
commit10bfe004a8b5ab9176b9b26455f2da14ac052340 (patch)
tree3ab783439370ad0f26fa00e8d03986c0cac2eb70 /shell/model
parentf907ceeae67f0a42ddd4a1b4e17ddcaf5cfa8ae8 (diff)
Fix strength propagation
Diffstat (limited to 'shell/model')
-rw-r--r--shell/model/MeshModel.py2
-rw-r--r--shell/model/devices/wirelessnetwork.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/shell/model/MeshModel.py b/shell/model/MeshModel.py
index c2d42ba..2e4b912 100644
--- a/shell/model/MeshModel.py
+++ b/shell/model/MeshModel.py
@@ -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()
diff --git a/shell/model/devices/wirelessnetwork.py b/shell/model/devices/wirelessnetwork.py
index efbc1b1..c18cf87 100644
--- a/shell/model/devices/wirelessnetwork.py
+++ b/shell/model/devices/wirelessnetwork.py
@@ -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':