From c944035684dd2e727dbc0f42aba57e830c107c1a Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Mon, 8 Aug 2005 14:56:25 +0000 Subject: [PATCH] [nicfit] jep0070 now works as a charm --- src/gajim.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gajim.py b/src/gajim.py index 6e53e5ac6..281319702 100755 --- a/src/gajim.py +++ b/src/gajim.py @@ -204,7 +204,7 @@ class Interface: def handle_event_http_auth(self, account, data): #('HTTP_AUTH', account, (method, url, iq_obj)) dialog = dialogs.ConfirmationDialog(_('HTTP (%s) Authorization for %s') \ - % (array[0], array[1]), _('Do you accept this request?')) + % (data[0], data[1]), _('Do you accept this request?')) if dialog.get_response() == gtk.RESPONSE_OK: answer = 'yes' else: @@ -1001,6 +1001,7 @@ class Interface: self.handle_event_file_send_error) con.register_handler('STANZA_ARRIVED', self.handle_event_stanza_arrived) con.register_handler('STANZA_SENT', self.handle_event_stanza_sent) + con.register_handler('HTTP_AUTH', self.handle_event_http_auth) def process_connections(self): try: