From ad0f8a47751f4c182b4bdf0de2ba075afd7cdc8e Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Fri, 22 Apr 2005 18:08:08 +0000 Subject: [PATCH] when we initiathe groupchat_window there is not tab, we add them with add_group finction --- src/chat.py | 5 ----- src/groupchat_window.py | 1 - 2 files changed, 6 deletions(-) diff --git a/src/chat.py b/src/chat.py index 02a35ba34..c871ece99 100644 --- a/src/chat.py +++ b/src/chat.py @@ -53,11 +53,6 @@ class Chat: self.print_time_timeout_id = {} self.names = {} # what is printed in the tab (eg. user.name) self.childs = {} - if self.widget_name == 'groupchat_window': - self.subject_entry = self.xml.get_widget('subject_entry') - self.conversation_textview = self.xml.get_widget( - 'conversation_textview') - print 'FIXME: this is None!!', self.conversation_textview def update_tags(self): for jid in self.tagIn: diff --git a/src/groupchat_window.py b/src/groupchat_window.py index 38231f7ae..acb746d1b 100644 --- a/src/groupchat_window.py +++ b/src/groupchat_window.py @@ -60,7 +60,6 @@ class Groupchat_window(chat.Chat): self.on_configure_button_clicked) self.xml.signal_connect('on_groupchat_window_key_press_event', \ self.on_groupchat_window_key_press_event) - self.conversation_textview.grab_focus() #FIXME: so this tracebacks def on_groupchat_window_delete_event(self, widget, event): """close window"""