when we initiathe groupchat_window there is not tab, we add them with add_group finction
This commit is contained in:
parent
4f05f4a2a5
commit
ad0f8a4775
|
@ -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:
|
||||
|
|
|
@ -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"""
|
||||
|
|
Loading…
Reference in New Issue