From 2d56a72fcbf9fe447ba551932ec7cd12bc9babd8 Mon Sep 17 00:00:00 2001
From: Yann Leboulanger <asterix@lagaule.org>
Date: Sun, 3 Sep 2006 17:50:18 +0000
Subject: [PATCH] give focus to conversation textview when we insensitive
 message_textview so that it can receive Ctrl+1,2,3. Fixes #2263

---
 src/chat_control.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/chat_control.py b/src/chat_control.py
index ab317bab43..d6aa4df949 100644
--- a/src/chat_control.py
+++ b/src/chat_control.py
@@ -792,6 +792,7 @@ class ChatControlBase(MessageControl):
 	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('send_button').set_sensitive(False)
 
 ################################################################################
-- 
GitLab