From a1d8b08d9078417e301068c93659cd91501e520d Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Sun, 6 Nov 2005 20:57:52 +0000 Subject: [PATCH] no need to save var, and better comment --- src/tabbed_chat_window.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tabbed_chat_window.py b/src/tabbed_chat_window.py index b9cc3e27b..17eb627dc 100644 --- a/src/tabbed_chat_window.py +++ b/src/tabbed_chat_window.py @@ -393,9 +393,9 @@ class TabbedChatWindow(chat.Chat): gajim.config.set('chat-height', height) def on_tabbed_chat_window_destroy(self, widget): - # Reset chatstates + # Reset contact chatstates to all open tabs for jid in self.xmls: - c = self.contacts[jid].chatstate = None + self.contacts[jid].chatstate = None #clean gajim.interface.windows[self.account]['chats'] chat.Chat.on_window_destroy(self, widget, 'chats')