Commit acd9d5a2 authored by Yann Leboulanger's avatar Yann Leboulanger

give focus to join button in join_gc_window when we give a room and server

parent fb42b277
......@@ -667,6 +667,8 @@ def __init__(self, account, server = '', room = '', nick = ''):
if len(self.recently_groupchat) and server == '' and room == '':
self.recently_combobox.set_active(0)
self.xml.get_widget('room_entry').select_region(0, -1)
elif room and server:
self.xml.get_widget('join_button').grab_focus()
self.window.show_all()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment