From d001c70443007ef9a66ee89ab5c12f2519d409ac Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Thu, 15 Mar 2007 18:19:38 +0000 Subject: Tweaked sizes of home xo icon, donut radius and device icons. --- (limited to 'shell/view/home/HomeBox.py') diff --git a/shell/view/home/HomeBox.py b/shell/view/home/HomeBox.py index e2483d2..86449c6 100644 --- a/shell/view/home/HomeBox.py +++ b/shell/view/home/HomeBox.py @@ -34,8 +34,8 @@ class HomeBox(hippo.CanvasBox, hippo.CanvasItem): hippo.CanvasBox.__init__(self, background_color=0xe2e2e2ff, yalign=2) self._donut = ActivitiesDonut(shell, - box_width=units.grid_to_pixels(7), - box_height=units.grid_to_pixels(7)) + box_width=units.grid_to_pixels(6), + box_height=units.grid_to_pixels(6)) self.append(self._donut) self._my_icon = MyIcon(units.XLARGE_ICON_SCALE) @@ -93,7 +93,7 @@ class HomeBox(hippo.CanvasBox, hippo.CanvasItem): i = 0 for icon in self._device_icons.values(): angle = 2 * math.pi / len(self._device_icons) * i + math.pi / 2 - radius = units.grid_to_pixels(5) + radius = units.grid_to_pixels(4) [icon_width, icon_height] = icon.get_allocation() -- cgit v0.9.1