2006-09-09 02:34:47 +02:00
|
|
|
import conf
|
|
|
|
from sugar.canvas.IconItem import IconItem
|
2006-10-04 00:55:20 +02:00
|
|
|
from sugar.graphics.iconcolor import IconColor
|
2006-09-09 02:34:47 +02:00
|
|
|
|
|
|
|
class MyIcon(IconItem):
|
|
|
|
def __init__(self, size):
|
|
|
|
profile = conf.get_profile()
|
|
|
|
|
|
|
|
IconItem.__init__(self, icon_name='stock-buddy',
|
|
|
|
color=profile.get_color(), size=size)
|