typo: colors are back in gc tabs
This commit is contained in:
parent
96dcb1bd0c
commit
6dfed88cad
|
@ -277,7 +277,7 @@ class GroupchatControl(ChatControlBase):
|
||||||
if chatstate == 'attention' and (not has_focus or not current_tab):
|
if chatstate == 'attention' and (not has_focus or not current_tab):
|
||||||
self.attention_flag = True
|
self.attention_flag = True
|
||||||
color = gajim.config.get_per('themes', theme,
|
color = gajim.config.get_per('themes', theme,
|
||||||
'state_muc_directed_msg')
|
'state_muc_directed_msg_color')
|
||||||
elif chatstate:
|
elif chatstate:
|
||||||
if chatstate == 'active' or (current_tab and has_focus):
|
if chatstate == 'active' or (current_tab and has_focus):
|
||||||
self.attention_flag = False
|
self.attention_flag = False
|
||||||
|
@ -285,7 +285,7 @@ class GroupchatControl(ChatControlBase):
|
||||||
'state_active_color')
|
'state_active_color')
|
||||||
elif chatstate == 'newmsg' and (not has_focus or not current_tab) and\
|
elif chatstate == 'newmsg' and (not has_focus or not current_tab) and\
|
||||||
not self.attention_flag:
|
not self.attention_flag:
|
||||||
color = gajim.config.get_per('themes', theme, 'state_muc_msg')
|
color = gajim.config.get_per('themes', theme, 'state_muc_msg_color')
|
||||||
if color:
|
if color:
|
||||||
color = gtk.gdk.colormap_get_system().alloc_color(color)
|
color = gtk.gdk.colormap_get_system().alloc_color(color)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue