select the first gc when we enter the join_gc window

This commit is contained in:
Yann Leboulanger 2005-06-10 12:31:06 +00:00
parent 796a8f61c1
commit 5e3c63572c
1 changed files with 3 additions and 0 deletions

View File

@ -584,6 +584,9 @@ _('You can not join a group chat unless you are connected.')).get_response()
self.recently_groupchat = gajim.config.get('recently_groupchat').split()
for g in self.recently_groupchat:
self.recently_combobox.append_text(g)
if len(self.recently_groupchat):
self.recently_combobox.set_active(0)
self.xml.get_widget('room_entry').select_region(0, -1)
self.window.show_all()