From fb42b277a01154d6beb64a41e8d15af753b45830 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Fri, 25 Nov 2005 22:28:51 +0000 Subject: [PATCH] in join_gc, when typing '@' focus goes to server_entry, and back in room_entry when I press backspace in enpty server_entry --- src/dialogs.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/dialogs.py b/src/dialogs.py index bce2debbb..c552c4e10 100644 --- a/src/dialogs.py +++ b/src/dialogs.py @@ -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() for g in self.recently_groupchat: 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 == '': self.recently_combobox.set_active(0) self.xml.get_widget('room_entry').select_region(0, -1)