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.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/shell/view/home/MyIcon.py b/shell/view/home/MyIcon.py
new file mode 100644
index 0000000..226520d
--- /dev/null
+++ b/shell/view/home/MyIcon.py
@@ -0,0 +1,10 @@
+import conf
+from sugar.canvas.IconItem import IconItem
+from sugar.canvas.IconColor import IconColor
+
+class MyIcon(IconItem):
+ def __init__(self, size):
+ profile = conf.get_profile()
+
+ IconItem.__init__(self, icon_name='stock-buddy',
+ color=profile.get_color(), size=size)