Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@tomeuvizoso.net>2007-11-08 19:23:11 (GMT)
committer Tomeu Vizoso <tomeu@tomeuvizoso.net>2007-11-08 19:23:11 (GMT)
commit3e491c2dc7c55d345f13b8f3ce1beee8d0146354 (patch)
tree08211e55c0b047cbbf6a678e52b0b59b44c7aaa5 /shell
parentdb4a7116e5e1d212041b2e8a68e96fb1034bcbef (diff)
#4715: Filter new items that appear in the mesh view.
Diffstat (limited to 'shell')
-rw-r--r--shell/view/home/MeshBox.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/shell/view/home/MeshBox.py b/shell/view/home/MeshBox.py
index 696dc86..3943973 100644
--- a/shell/view/home/MeshBox.py
+++ b/shell/view/home/MeshBox.py
@@ -509,6 +509,9 @@ class MeshBox(hippo.CanvasBox):
icon = ActivityView(self._shell, activity_model)
self._layout.add(icon)
+ if hasattr(icon, 'set_filter'):
+ icon.set_filter(self._query)
+
self._activities[activity_model.get_id()] = icon
def _remove_activity(self, activity_model):
@@ -521,6 +524,9 @@ class MeshBox(hippo.CanvasBox):
icon = AccessPointView(ap_model, meshdev)
self._layout.add(icon)
+ if hasattr(icon, 'set_filter'):
+ icon.set_filter(self._query)
+
self._access_points[ap_model.get_id()] = icon
def _remove_access_point(self, ap_model):