apply modification to markedmsgcolor immediatly. Fixes #7436

This commit is contained in:
Yann Leboulanger 2013-09-16 16:48:07 +02:00
parent 8c1992ce28
commit fcfaed6f39
1 changed files with 6 additions and 4 deletions

View File

@ -281,10 +281,10 @@ class ConversationTextview(GObject.GObject):
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')
@ -346,7 +346,9 @@ class ConversationTextview(GObject.GObject):
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)