sugar-toolkit-gtk3/shell/view/home/MyIcon.py
2006-10-04 15:26:41 +02:00

11 lines
297 B
Python

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)