Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--shell/view/home/MeshBox.py6
2 files changed, 7 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 22322f0..a76ac08 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,4 @@
+* #4715: Filter new items that appear in the mesh view. (tomeu)
* #4716: Filter correctly activity icons in the mesh view. (tomeu)
* Use HOME/.i18n in control panel and reset jabber_registered to False (erikos)
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):