From ee6ce3c324233f7fc629d984daf47b143c05aed7 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Sun, 26 Mar 2006 10:43:18 +0000 Subject: [PATCH] message_textview is not editable when we are not connected --- src/chat_control.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/chat_control.py b/src/chat_control.py index 515da2153..a5b6eb886 100644 --- a/src/chat_control.py +++ b/src/chat_control.py @@ -726,10 +726,12 @@ class ChatControlBase(MessageControl): def got_connected(self): self.msg_textview.set_sensitive(True) + self.msg_textview.set_editable(True) self.xml.get_widget('send_button').set_sensitive(True) def got_disconnected(self): self.msg_textview.set_sensitive(False) + self.msg_textview.set_editable(False) self.xml.get_widget('send_button').set_sensitive(False) ################################################################################