no need to save var, and better comment

This commit is contained in:
Nikos Kouremenos 2005-11-06 20:57:52 +00:00
parent 6202203856
commit a1d8b08d90
1 changed files with 2 additions and 2 deletions

View File

@ -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')