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

This commit is contained in:
Yann Leboulanger 2005-11-25 22:45:58 +00:00
parent fb42b277a0
commit acd9d5a26b
1 changed files with 2 additions and 0 deletions

View File

@ -667,6 +667,8 @@ _('You can not join a group chat unless you are connected.')).get_response()
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()