_Typo Color of sugar.activity.widgets.ActivityButton is owners all time despite of 'icon-color' metadata property #1368
This commit is contained in:
parent
9f981bb5dc
commit
acdbae5d4c
@ -34,7 +34,7 @@ _ = lambda msg: gettext.dgettext('sugar-toolkit', msg)
|
||||
|
||||
|
||||
def _create_activity_icon(metadata):
|
||||
if 'icon-color' in metadata:
|
||||
if metadata.get('icon-color', ''):
|
||||
color = XoColor(metadata['icon-color'])
|
||||
else:
|
||||
client = gconf.client_get_default()
|
||||
|
Loading…
Reference in New Issue
Block a user