From 91b699013485ba5ff3fab91426f46a18d31ab2a4 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Wed, 31 Oct 2007 12:48:16 +0100 Subject: [PATCH] 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. --- shell/view/home/HomeBox.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/view/home/HomeBox.py b/shell/view/home/HomeBox.py index 5b135650..a931ec81 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