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:
authorMarco Pesenti Gritti <mpg@redhat.com>2007-07-31 14:46:06 (GMT)
committer Marco Pesenti Gritti <mpg@redhat.com>2007-07-31 14:46:06 (GMT)
commitb3f7e0e63241b8e4ea3f20924627578a9ddd136e (patch)
tree236632517d6b9ca72f1fb2807c5f9ad2c1e669d3 /shell/view/home/HomeBox.py
parent72d66793a73a3ca7924b09badb5d269b41d649a3 (diff)
Move from scaling to sizes in CanvasIcon.
Diffstat (limited to 'shell/view/home/HomeBox.py')
-rw-r--r--shell/view/home/HomeBox.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/shell/view/home/HomeBox.py b/shell/view/home/HomeBox.py
index fc1563a..bfb4265 100644
--- a/shell/view/home/HomeBox.py
+++ b/shell/view/home/HomeBox.py
@@ -24,7 +24,6 @@ import gtk
import hippo
import dbus
-from sugar.graphics import units
from sugar.graphics import style
from sugar.graphics.xocolor import XoColor
from sugar.graphics.palette import Palette, CanvasInvoker
@@ -46,7 +45,7 @@ class HomeBox(hippo.CanvasBox, hippo.CanvasItem):
box_height=style.zoom(450))
self.append(self._donut)
- self._my_icon = HomeMyIcon(shell, units.XLARGE_ICON_SCALE)
+ self._my_icon = HomeMyIcon(shell, style.XLARGE_ICON_SIZE)
self.append(self._my_icon, hippo.PACK_FIXED)
shell_model = shell.get_model()