in join_gc, when typing '@' focus goes to server_entry, and back in room_entry when I press backspace in enpty server_entry

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

View File

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