Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/view/home/MyIcon.py
diff options
context:
space:
mode:
Diffstat (limited to 'shell/view/home/MyIcon.py')
-rw-r--r--shell/view/home/MyIcon.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/shell/view/home/MyIcon.py b/shell/view/home/MyIcon.py
index efc5715..5fccf97 100644
--- a/shell/view/home/MyIcon.py
+++ b/shell/view/home/MyIcon.py
@@ -1,10 +1,8 @@
from sugar.graphics.canvasicon import CanvasIcon
-from sugar.graphics.iconcolor import IconColor
import conf
class MyIcon(CanvasIcon):
- def __init__(self, size):
+ def __init__(self):
profile = conf.get_profile()
-
CanvasIcon.__init__(self, icon_name='stock-buddy',
- color=profile.get_color(), size=size)
+ color=profile.get_color())