[nicfit] jep0070 now works as a charm

This commit is contained in:
Nikos Kouremenos 2005-08-08 14:56:25 +00:00
parent bb949ef623
commit c944035684
1 changed files with 2 additions and 1 deletions

View File

@ -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: