From 6bfdebf347bfb9b7bdbc523b8b7dd6f159f8b482 Mon Sep 17 00:00:00 2001 From: js Date: Wed, 23 Jul 2008 17:40:02 +0000 Subject: [PATCH] Fix #4069. --- src/chat_control.py | 1 + src/gajim.py | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/chat_control.py b/src/chat_control.py index 9cb325359..2700d7a32 100644 --- a/src/chat_control.py +++ b/src/chat_control.py @@ -1348,6 +1348,7 @@ class ChatControl(ChatControlBase): def update_ui(self): # The name banner is drawn here ChatControlBase.update_ui(self) + self.update_toolbar() def _update_banner_state_image(self): contact = gajim.contacts.get_contact_with_highest_priority(self.account, diff --git a/src/gajim.py b/src/gajim.py index 9c2863a84..764812c3a 100755 --- a/src/gajim.py +++ b/src/gajim.py @@ -1790,9 +1790,11 @@ class Interface: '%s\nIt may have been tampered with.') % (jid) if session.control: - session.control.print_conversation_line(details, 'status', '', tim) + session.control.print_conversation_line(details, + 'status', '', tim) else: - dialogs.WarningDialog(_('Unable to decrypt message'), details) + dialogs.WarningDialog(_('Unable to decrypt message'), + details) # terminate the session session.terminate_e2e()