Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/view/home/MyIcon.py
blob: efc5715edce78f1b2e83c2ef3461db3664f743a2 (plain)
1
2
3
4
5
6
7
8
9
10
from sugar.graphics.canvasicon import CanvasIcon
from sugar.graphics.iconcolor import IconColor
import conf

class MyIcon(CanvasIcon):
	def __init__(self, size):
		profile = conf.get_profile()

		CanvasIcon.__init__(self, icon_name='stock-buddy',
					  	    color=profile.get_color(), size=size)