This commit is contained in:
Yann Leboulanger 2005-02-14 18:37:57 +00:00
parent 2679618985
commit 50db814441
1 changed files with 1 additions and 1 deletions

View File

@ -429,7 +429,7 @@ class tabbed_chat_Window:
if event.keyval == gtk.keysyms.Escape:
jid = self.get_active_jid()
if len(self.xmls) == 1:
button.get_toplevel().destroy()
widget.get_toplevel().destroy()
else:
nb.remove_page(nb.get_current_page())
del self.plugin.windows[self.account]['chats'][jid]