Author: asterix Date: 2007-09-17 20:03:44 +0200 (Mon, 17 Sep 2007) New Revision: 8825
Modified: trunk/src/gajim.py Log: add account name to XEP-70 dialog when several are connected
Modified: trunk/src/gajim.py =================================================================== --- trunk/src/gajim.py 2007-09-16 21:56:42 UTC (rev 8824) +++ trunk/src/gajim.py 2007-09-17 18:03:44 UTC (rev 8825) @@ -432,6 +432,8 @@ gajim.connections[account].build_http_auth_answer(iq_obj, answer)
sec_msg = _('Do you accept this request?') + if gajim.get_number_of_connected_accounts() > 1: + sec_msg = _('Do you accept this request on account %s?') % account if data[4]: sec_msg = data[4] + '\n' + sec_msg self.dialog = dialogs.YesNoDialog(_('HTTP (%s) Authorization for %s (id: %s)') \