Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpg@redhat.com>2007-10-31 11:48:16 (GMT)
committer Marco Pesenti Gritti <mpg@redhat.com>2007-10-31 11:48:16 (GMT)
commit91b699013485ba5ff3fab91426f46a18d31ab2a4 (patch)
tree9a899e792b7db309739e7a177c514b9ad2a39f7b
parent116ebfecf694af224ad094880d7daa9ef33e0e75 (diff)
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.
-rw-r--r--shell/view/home/HomeBox.py2
1 files changed, 1 insertions, 1 deletions
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