Skip to content
Snippets Groups Projects
Commit d83d744a authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

reset tab color when contact goes offline. fixes #2951

parent 57e9eadf
No related branches found
No related tags found
No related merge requests found
......@@ -1323,7 +1323,7 @@ class ChatControl(ChatControlBase):
if chatstate in ('inactive', 'gone') and\
self.parent_win.get_active_control() != self:
color = self.lighten_color(color)
elif chatstate == 'active' : # active, get color from gtk
else: # active or not chatstate, get color from gtk
color = self.parent_win.notebook.style.fg[gtk.STATE_ACTIVE]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment