diff options
author | Walter Bender <walter.bender@gmail.com> | 2013-04-01 15:53:35 (GMT) |
---|---|---|
committer | Walter Bender <walter.bender@gmail.com> | 2013-04-01 15:53:35 (GMT) |
commit | fad81f4b31dbb172d5a381f2463a3e9e9c9e48f4 (patch) | |
tree | dba4e311a3c7831128c89857b8984c0994cd397d | |
parent | 71aea2881c0cfe4919f3c1edf6a220553ffe88e1 (diff) |
fix icon-color comments formattinggtk2
-rw-r--r-- | PortfolioActivity.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/PortfolioActivity.py b/PortfolioActivity.py index 5f88fe7..c355f66 100644 --- a/PortfolioActivity.py +++ b/PortfolioActivity.py @@ -1496,11 +1496,11 @@ class PortfolioActivity(activity.Activity): elif self._selected_spr.type == 'comment': message = self._selected_spr.labels[0] if message != '': - slide.comment.append({'from':profile.get_nick_name(), - 'message':message, + slide.comment.append({'from': profile.get_nick_name(), + 'message': message, # Use my colors in case of sharing - 'icon-color':[self._my_colors[0], - self._my_colors[1]]}) + 'icon-color': '[%s,%s]' % ( + self._my_colors[0], self._my_colors[1])}) if self.initiating is not None: self._send_event('c:%s' % (self._data_dumper( [slide.uid, slide.comment]))) |