From 62f17bdd441d1c5d2ace1e035c1f9e2db1459c31 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Mon, 22 Oct 2007 12:02:27 +0000 Subject: [PATCH] empty status message label in chat window when there is no more status message --- src/chat_control.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/chat_control.py b/src/chat_control.py index f5f70da42..eca07ad3e 100644 --- a/src/chat_control.py +++ b/src/chat_control.py @@ -1246,10 +1246,11 @@ class ChatControl(ChatControlBase): status_text = '%s' % (font_attrs_small, status_text) else: status_text = '%s' % (font_attrs_small, status_escaped) - - self.banner_status_label.set_markup(status_text) else: + status_text = '' self.status_tooltip.disable() + + self.banner_status_label.set_markup(status_text) # setup the label that holds name and jid banner_name_label.set_markup(label_text)