sugar-toolkit-gtk3/shell/view/home/MyIcon.py
2006-09-15 13:23:21 +02:00

11 lines
283 B
Python

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)