Don't hiccup on NM start/stop

This commit is contained in:
Dan Williams
2007-04-05 00:22:13 -04:00
parent 7a2a480850
commit 396ca0e64e
2 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -239,7 +239,7 @@ class MeshBox(SpreadBox):
self._add_mesh_icon(mesh)
def _mesh_removed_cb(self, model):
self._remove_mesh_icon()
self._remove_mesh()
def _buddy_added_cb(self, model, buddy_model):
self._add_alone_buddy(buddy_model)
@@ -270,7 +270,7 @@ class MeshBox(SpreadBox):
self._mesh = MeshDeviceView(mesh)
self.add_item(self._mesh)
def _remove_access_point(self):
def _remove_mesh(self):
if not self._mesh:
return
self.remove_item(self._mesh)