apply modification to markedmsgcolor immediatly. Fixes #7436

This commit is contained in:
Yann Leboulanger 2013-09-16 16:48:07 +02:00
parent 0ffd998050
commit 89d553414f
1 changed files with 6 additions and 4 deletions

View File

@ -278,10 +278,10 @@ class ConversationTextview(gobject.GObject):
tag = buffer_.create_tag(tagname) tag = buffer_.create_tag(tagname)
tag.set_property('foreground', color) tag.set_property('foreground', color)
tag = buffer_.create_tag('marked') self.tagMarked = buffer_.create_tag('marked')
color = gajim.config.get('markedmsgcolor') color = gajim.config.get('markedmsgcolor')
tag.set_property('foreground', color) self.tagMarked.set_property('foreground', color)
tag.set_property('weight', pango.WEIGHT_BOLD) self.tagMarked.set_property('weight', pango.WEIGHT_BOLD)
tag = buffer_.create_tag('time_sometimes') tag = buffer_.create_tag('time_sometimes')
tag.set_property('foreground', 'darkgrey') tag.set_property('foreground', 'darkgrey')
@ -341,7 +341,9 @@ class ConversationTextview(gobject.GObject):
self.tagIn.set_property('foreground', gajim.config.get('inmsgcolor')) self.tagIn.set_property('foreground', gajim.config.get('inmsgcolor'))
self.tagOut.set_property('foreground', gajim.config.get('outmsgcolor')) self.tagOut.set_property('foreground', gajim.config.get('outmsgcolor'))
self.tagStatus.set_property('foreground', 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') color = gajim.config.get('urlmsgcolor')
self.tv.tagURL.set_property('foreground', color) self.tv.tagURL.set_property('foreground', color)
self.tv.tagMail.set_property('foreground', color) self.tv.tagMail.set_property('foreground', color)