From 8bde5748f9e63314b4c0ff6b01c143a5fb102c00 Mon Sep 17 00:00:00 2001 From: js Date: Thu, 20 Nov 2008 15:44:06 +0000 Subject: [PATCH] Actually, this caused problems. --- src/chat_control.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/chat_control.py b/src/chat_control.py index 16cba7ae3..3cb8ed9bd 100644 --- a/src/chat_control.py +++ b/src/chat_control.py @@ -1061,18 +1061,13 @@ class ChatControlBase(MessageControl): def got_connected(self): self.msg_textview.set_sensitive(True) self.msg_textview.set_editable(True) - # FIXME: This seems wrong. What if we have caps? - self.xml.get_widget('formattings_button').set_sensitive(True) - self.xml.get_widget('send_button').set_sensitive(True) - self.xml.get_widget('convert_to_gc_button').set_sensitive(True) + # FIXME: Set sensitivity for toolbar def got_disconnected(self): self.msg_textview.set_sensitive(False) self.msg_textview.set_editable(False) self.conv_textview.tv.grab_focus() - self.xml.get_widget('formattings_button').set_sensitive(False) - self.xml.get_widget('send_button').set_sensitive(False) - self.xml.get_widget('convert_to_gc_button').set_sensitive(False) + # FIXME: Set sensitivity for toolbar ################################################################################ class ChatControl(ChatControlBase):