changeset 7667dcdbbdd1 in /home/hg/repos/gajim
author: Yann Leboulanger asterix@lagaule.org branches: details:http://hg.gajim.org/gajim?cmd=changeset;node=7667dcdbbdd1 description: apply modification to markedmsgcolor immediatly. Fixes #7436
diffstat:
src/conversation_textview.py | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-)
diffs (28 lines):
diff -r 32f72fc3a7cc -r 7667dcdbbdd1 src/conversation_textview.py --- a/src/conversation_textview.py Sun Sep 15 11:15:29 2013 +0200 +++ b/src/conversation_textview.py Mon Sep 16 16:48:07 2013 +0200 @@ -278,10 +278,10 @@ tag = buffer_.create_tag(tagname) tag.set_property('foreground', color)
- tag = buffer_.create_tag('marked') + self.tagMarked = buffer_.create_tag('marked') color = gajim.config.get('markedmsgcolor') - tag.set_property('foreground', color) - tag.set_property('weight', pango.WEIGHT_BOLD) + self.tagMarked.set_property('foreground', color) + self.tagMarked.set_property('weight', pango.WEIGHT_BOLD)
tag = buffer_.create_tag('time_sometimes') tag.set_property('foreground', 'darkgrey') @@ -341,7 +341,9 @@ self.tagIn.set_property('foreground', gajim.config.get('inmsgcolor')) self.tagOut.set_property('foreground', gajim.config.get('outmsgcolor')) self.tagStatus.set_property('foreground', - gajim.config.get('statusmsgcolor')) + gajim.config.get('statusmsgcolor')) + self.tagMarked.set_property('foreground', + gajim.config.get('markedmsgcolor')) color = gajim.config.get('urlmsgcolor') self.tv.tagURL.set_property('foreground', color) self.tv.tagMail.set_property('foreground', color)