diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2008-01-29 20:20:50 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2008-01-29 20:20:50 (GMT) |
commit | aaaaa92f98d002484a31c6310219cbc55346fb45 (patch) | |
tree | b9a710479dc1ff23102a70c3a2d664dfcd43a356 /shell/view/home/MeshBox.py | |
parent | 93533e69f29dbc4daa449e74dd3520b6feaf189c (diff) |
In spread layout always get width/height request to not
confuse hippo. Eventually we will have to deal with size
changes in a better way. Fix flakes count in SnowflakeLayout.
Fix #5904
Diffstat (limited to 'shell/view/home/MeshBox.py')
-rw-r--r-- | shell/view/home/MeshBox.py | 4 |
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): |