From bf4ce0e3a7d689f63bba40c224b9ddb3f31be815 Mon Sep 17 00:00:00 2001 From: arantes Date: Wed, 6 Oct 2010 01:02:56 +0200 Subject: [PATCH] Gtk : Fixes typo Adds a basic show() function to Gtk's chat window so there is no traceback anymore when the core calls it --- amsn2/ui/front_ends/gtk/chat_window.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/amsn2/ui/front_ends/gtk/chat_window.py b/amsn2/ui/front_ends/gtk/chat_window.py index 3512e492..03466ea8 100644 --- a/amsn2/ui/front_ends/gtk/chat_window.py +++ b/amsn2/ui/front_ends/gtk/chat_window.py @@ -63,6 +63,10 @@ def add_chat_widget(self, chat_widget): def set_title(self, title): gtk.Window.set_title(self, title) + def show(self): + self.show_all() + + class aMSNChatWidget(base.aMSNChatWidget, gtk.VBox): def __init__(self, amsn_conversation, parent, contacts_uid): gtk.VBox.__init__(self, False, 0)