diff options
author | Aleksey Lim <alsroot@member.fsf.org> | 2009-09-18 15:11:24 (GMT) |
---|---|---|
committer | Aleksey Lim <alsroot@member.fsf.org> | 2009-09-18 15:11:24 (GMT) |
commit | acdbae5d4ccb857e4ed7c3435535ab8268f71893 (patch) | |
tree | 201708caa07b50d73ef43eb4589a6f209ee9bb86 | |
parent | 9f981bb5dcabf6072db0faf4b791dc359d0393f1 (diff) |
_Typo Color of sugar.activity.widgets.ActivityButton is owners all time despite of 'icon-color' metadata property #1368
-rw-r--r-- | src/sugar/activity/widgets.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sugar/activity/widgets.py b/src/sugar/activity/widgets.py index 75e9907..2867666 100644 --- a/src/sugar/activity/widgets.py +++ b/src/sugar/activity/widgets.py @@ -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() |