give focus to chat window after we open if. Fixes #5740
This commit is contained in:
parent
b7d6441846
commit
3fd6afb311
1 changed files with 2 additions and 0 deletions
|
@ -144,6 +144,8 @@ class MessageWindow(object):
|
|||
self.notebook.set_show_border(gajim.config.get('tabs_border'))
|
||||
self.show_icon()
|
||||
|
||||
gobject.idle_add(lambda: self.notebook.grab_focus())
|
||||
|
||||
def change_account_name(self, old_name, new_name):
|
||||
if old_name in self._controls:
|
||||
self._controls[new_name] = self._controls[old_name]
|
||||
|
|
Loading…
Add table
Reference in a new issue