80 margin

This commit is contained in:
Yann Leboulanger 2006-02-03 11:20:55 +00:00
parent bb4d61c10d
commit 964d32fc48
1 changed files with 2 additions and 1 deletions

View File

@ -2285,7 +2285,8 @@ _('If "%s" accepts this request you will know his or her status.') % jid)
def on_service_disco_menuitem_activate(self, widget, account):
server_jid = gajim.config.get_per('accounts', account, 'hostname')
if gajim.interface.instances[account]['disco'].has_key(server_jid):
gajim.interface.instances[account]['disco'][server_jid].window.present()
gajim.interface.instances[account]['disco'][server_jid].\
window.present()
else:
try:
# Object will add itself to the window dict