Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/view/home/HomeBox.py
diff options
context:
space:
mode:
Diffstat (limited to 'shell/view/home/HomeBox.py')
-rw-r--r--shell/view/home/HomeBox.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/shell/view/home/HomeBox.py b/shell/view/home/HomeBox.py
index daef97d..cca0355 100644
--- a/shell/view/home/HomeBox.py
+++ b/shell/view/home/HomeBox.py
@@ -49,12 +49,12 @@ class HomeBox(hippo.CanvasBox, hippo.CanvasItem):
self._donut = None
self._my_icon.props.color = IconColor('insensitive')
- def do_allocate(self, width, height):
- hippo.CanvasBox.do_allocate(self, width, height)
+ def do_allocate(self, width, height, origin_changed):
+ hippo.CanvasBox.do_allocate(self, width, height, origin_changed)
[icon_width, icon_height] = self._my_icon.get_allocation()
- self.move(self._my_icon, (width - icon_width) / 2,
- (height - icon_height) / 2)
+ self.set_position(self._my_icon, (width - icon_width) / 2,
+ (height - icon_height) / 2)
def has_activities(self):
return self._donut.has_activities()