empty status message label in chat window when there is no more status message

This commit is contained in:
Yann Leboulanger 2007-10-22 12:02:27 +00:00
parent 605caae2b8
commit 62f17bdd44
1 changed files with 3 additions and 2 deletions

View File

@ -1246,10 +1246,11 @@ class ChatControl(ChatControlBase):
status_text = '<span %s>%s</span>' % (font_attrs_small, status_text) status_text = '<span %s>%s</span>' % (font_attrs_small, status_text)
else: else:
status_text = '<span %s>%s</span>' % (font_attrs_small, status_escaped) status_text = '<span %s>%s</span>' % (font_attrs_small, status_escaped)
else:
status_text = ''
self.status_tooltip.disable()
self.banner_status_label.set_markup(status_text) self.banner_status_label.set_markup(status_text)
else:
self.status_tooltip.disable()
# setup the label that holds name and jid # setup the label that holds name and jid
banner_name_label.set_markup(label_text) banner_name_label.set_markup(label_text)