more chatstate fixes and theme updates with config

This commit is contained in:
Travis Shirk 2006-01-08 20:51:12 +00:00
parent 460ac48ec4
commit ebf346e03c
2 changed files with 2 additions and 3 deletions

View file

@ -264,9 +264,8 @@ class GroupchatControl(ChatControlBase):
# Set tab image (always 16x16); unread messages show the 'message' image
img_16 = gajim.interface.roster.get_appropriate_state_images(self.room_jid)
# nb_unread is the number directed messages (msgs that mention our nick)
tab_image = None
if self.nb_unread and gajim.config.get('show_unread_tab_icon'):
if self.attention_flag and gajim.config.get('show_unread_tab_icon'):
tab_image = img_16['message']
else:

View file

@ -2238,7 +2238,7 @@ _('If "%s" accepts this request you will know his or her status.') % jid)
for win in gajim.interface.msg_win_mgr.windows():
for ctl in gajim.interface.msg_win_mgr.controls():
ctl.update_state()
win.redraw_tab(ctl.contact)
win.redraw_tab(ctl.contact)
self.update_status_combobox()