grab focus on message widget when we change tab in tabbed chat window
This commit is contained in:
parent
8b5d92376f
commit
958884b8e2
|
@ -347,6 +347,8 @@ class tabbed_chat_Window:
|
||||||
child = self.xmls[jid].get_widget("vbox_tab")
|
child = self.xmls[jid].get_widget("vbox_tab")
|
||||||
nb = self.xml.get_widget("notebook")
|
nb = self.xml.get_widget("notebook")
|
||||||
nb.set_current_page(nb.page_num(child))
|
nb.set_current_page(nb.page_num(child))
|
||||||
|
message = self.xmls[jid].get_widget('message')
|
||||||
|
message.grab_focus()
|
||||||
|
|
||||||
def new_user(self, user):
|
def new_user(self, user):
|
||||||
self.nb_unread[user.jid] = 0
|
self.nb_unread[user.jid] = 0
|
||||||
|
|
Loading…
Reference in New Issue