From 50db8144419018abc0452f1816cafe0346659909 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Mon, 14 Feb 2005 18:37:57 +0000 Subject: [PATCH] typo --- plugins/gtkgui/gtkgui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/gtkgui/gtkgui.py b/plugins/gtkgui/gtkgui.py index 8a6690767..c69c38aa3 100644 --- a/plugins/gtkgui/gtkgui.py +++ b/plugins/gtkgui/gtkgui.py @@ -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]