This commit is contained in:
Nikos Kouremenos 2005-07-25 14:38:41 +00:00
parent bae6755899
commit dcfdc006e0
2 changed files with 2 additions and 1 deletions

View File

@ -834,7 +834,7 @@ _('You can not join a group chat unless you are connected.')).get_response()
def on_recently_combobox_changed(self, widget):
model = widget.get_model()
iter = widget.get_active_iter()
gid = model.get_value(iter, 0)
gid = model[iter][0]
self.xml.get_widget('room_entry').set_text(gid.split('@')[0])
self.xml.get_widget('server_entry').set_text(gid.split('@')[1])

View File

@ -261,6 +261,7 @@ class RosterWindow:
#FIXME: add avatar
def join_gc_room(self, account, room_jid, nick, password):
#FIXME: maybe remove this and just let the server do the message?
if room_jid in self.plugin.windows[account]['gc']:
dialogs.ErrorDialog(_('You are already in room %s') %room_jid
).get_response()