From 586894297a56e7f1620fe8d94c6423dd813b1655 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Fri, 25 Feb 2005 18:10:26 +0000 Subject: [PATCH] set the focus to the message textview when opening the tabbed_chat_window --- plugins/gtkgui/gtkgui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/gtkgui/gtkgui.py b/plugins/gtkgui/gtkgui.py index 7ea56e00a..b42608de1 100644 --- a/plugins/gtkgui/gtkgui.py +++ b/plugins/gtkgui/gtkgui.py @@ -417,7 +417,6 @@ class tabbed_chat_Window: tv.set_wrap_mode(gtk.WRAP_WORD) sw.add(tv) self.widgets[user.jid]['message'] = tv - tv.grab_focus() tv.connect('key_press_event', self.on_msg_key_press_event) vb.show_all() @@ -426,6 +425,7 @@ class tabbed_chat_Window: self.redraw_tab(user.jid) self.draw_widgets(user) + tv.grab_focus() #print queued messages if self.plugin.queues[self.account].has_key(user.jid):