Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/view/home/MeshBox.py
diff options
context:
space:
mode:
Diffstat (limited to 'shell/view/home/MeshBox.py')
-rw-r--r--shell/view/home/MeshBox.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/view/home/MeshBox.py b/shell/view/home/MeshBox.py
index 00ca782..3b7c4a7 100644
--- a/shell/view/home/MeshBox.py
+++ b/shell/view/home/MeshBox.py
@@ -267,7 +267,7 @@ class ActivityView(hippo.CanvasBox):
self.set_layout(self._layout)
self._icon = self._create_icon()
- self._layout.add_center(self._icon)
+ self._layout.add(self._icon, center=True)
self._update_palette()
@@ -343,7 +343,7 @@ class ActivityView(hippo.CanvasBox):
def _color_changed_cb(self, activity, pspec):
self._layout.remove(self._icon)
self._icon = self._create_icon()
- self._layout.add_center(self._icon)
+ self._layout.add(self._icon, center=True)
self._icon.set_palette(self._palette)
def _private_changed_cb(self, activity, pspec):