From 91b699013485ba5ff3fab91426f46a18d31ab2a4 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Wed, 31 Oct 2007 11:48:16 +0000 Subject: Place the device in the middle of the row so that they don't go too near to the donut on the XO. Quite an hack but at least it looks decent, we will need to solve this properly at some point. --- (limited to 'shell/view/home/HomeBox.py') diff --git a/shell/view/home/HomeBox.py b/shell/view/home/HomeBox.py index 5b13565..a931ec8 100644 --- a/shell/view/home/HomeBox.py +++ b/shell/view/home/HomeBox.py @@ -78,7 +78,7 @@ class HomeBox(hippo.CanvasBox, hippo.CanvasItem): [box_width, box_height] = self._devices_box.get_allocation() self.set_position(self._devices_box, (width - icon_width) / 2, - height - style.GRID_CELL_SIZE * 3) + height - style.GRID_CELL_SIZE * 2.5) _REDRAW_TIMEOUT = 5 * 60 * 1000 # 5 minutes -- cgit v0.9.1