sugar-toolkit-gtk3/shell/view/home/MyIcon.py

9 lines
232 B
Python
Raw Normal View History

2006-10-04 15:26:41 +02:00
from sugar.graphics.canvasicon import CanvasIcon
import conf
2006-10-04 15:26:41 +02:00
class MyIcon(CanvasIcon):
def __init__(self):
profile = conf.get_profile()
2006-10-04 15:26:41 +02:00
CanvasIcon.__init__(self, icon_name='stock-buddy',
color=profile.get_color())