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-02-19 16:59:29 (GMT)
committer Marco Pesenti Gritti <mpg@redhat.com>2007-02-19 16:59:29 (GMT)
commite24193c5511ac236c1f3014debf797d07f56dae2 (patch)
tree55cf002d11460d0f514a0af0f0ad94703c081cb2 /shell/view/home/HomeBox.py
parentd199e99514babd7325b6e20be34b763e573f1095 (diff)
Get rid of stylesheets for MyIcon.
Diffstat (limited to 'shell/view/home/HomeBox.py')
-rw-r--r--shell/view/home/HomeBox.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/shell/view/home/HomeBox.py b/shell/view/home/HomeBox.py
index 7fef59a..bdc6621 100644
--- a/shell/view/home/HomeBox.py
+++ b/shell/view/home/HomeBox.py
@@ -19,7 +19,6 @@ import hippo
from view.home.activitiesdonut import ActivitiesDonut
from view.home.MyIcon import MyIcon
from model.ShellModel import ShellModel
-from sugar.graphics import style
from sugar.graphics import units
from sugar.graphics.iconcolor import IconColor
@@ -34,8 +33,7 @@ class HomeBox(hippo.CanvasBox, hippo.CanvasItem):
box_height=units.grid_to_pixels(7))
self.append(self._donut)
- self._my_icon = MyIcon()
- style.apply_stylesheet(self._my_icon, 'home.MyIcon')
+ self._my_icon = MyIcon(units.XLARGE_ICON_SCALE)
self.append(self._my_icon, hippo.PACK_FIXED)
shell.get_model().connect('notify::state',