reset tab color when contact goes offline. fixes #2951

This commit is contained in:
Yann Leboulanger 2007-01-28 13:31:30 +00:00
parent 57e9eadff8
commit d83d744a27
1 changed files with 1 additions and 1 deletions

View File

@ -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]