diff --git a/plugins/gtkgui/gtkgui.py b/plugins/gtkgui/gtkgui.py index 28e25b4d5..bc8bf23e9 100644 --- a/plugins/gtkgui/gtkgui.py +++ b/plugins/gtkgui/gtkgui.py @@ -347,6 +347,8 @@ class tabbed_chat_Window: child = self.xmls[jid].get_widget("vbox_tab") nb = self.xml.get_widget("notebook") nb.set_current_page(nb.page_num(child)) + message = self.xmls[jid].get_widget('message') + message.grab_focus() def new_user(self, user): self.nb_unread[user.jid] = 0