select chat window once we open a new one

This commit is contained in:
Yann Leboulanger 2009-08-05 21:03:50 +02:00
parent 8fcaa914e1
commit 5c9e35cd0e
1 changed files with 1 additions and 0 deletions

View File

@ -2909,6 +2909,7 @@ class Interface:
# For JEP-0172
if added_to_roster:
ctrl.user_nick = gajim.nicks[account]
gobject.idle_add(lambda: mw.window.grab_focus())
def on_open_chat_window(self, widget, contact, account, resource=None,
session=None):