This commit is contained in:
Yann Leboulanger 2010-12-01 09:23:32 +01:00
parent aac5c0bf1b
commit c6b04f3bc5
1 changed files with 5 additions and 5 deletions

View File

@ -1210,7 +1210,7 @@ class Interface:
del self.instances[account]['online_dialog']['ssl_error'] del self.instances[account]['online_dialog']['ssl_error']
obj.conn.disconnect(on_purpose=True) obj.conn.disconnect(on_purpose=True)
gajim.nec.push_incoming_event(OurShowEvent(None, conn=obj.conn, gajim.nec.push_incoming_event(OurShowEvent(None, conn=obj.conn,
show='offline') show='offline'))
pritext = _('Error verifying SSL certificate') pritext = _('Error verifying SSL certificate')
sectext = _('There was an error verifying the SSL certificate of your ' sectext = _('There was an error verifying the SSL certificate of your '
@ -1244,7 +1244,7 @@ class Interface:
del self.instances[account]['online_dialog']['fingerprint_error'] del self.instances[account]['online_dialog']['fingerprint_error']
obj.conn.disconnect(on_purpose=True) obj.conn.disconnect(on_purpose=True)
gajim.nec.push_incoming_event(OurShowEvent(None, conn=obj.conn, gajim.nec.push_incoming_event(OurShowEvent(None, conn=obj.conn,
show='offline') show='offline'))
pritext = _('SSL certificate error') pritext = _('SSL certificate error')
sectext = _('It seems the SSL certificate of account %(account)s has ' sectext = _('It seems the SSL certificate of account %(account)s has '
@ -1280,7 +1280,7 @@ class Interface:
['plain_connection'] ['plain_connection']
obj.conn.disconnect(on_purpose=True) obj.conn.disconnect(on_purpose=True)
gajim.nec.push_incoming_event(OurShowEvent(None, conn=obj.conn, gajim.nec.push_incoming_event(OurShowEvent(None, conn=obj.conn,
show='offline') show='offline'))
pritext = _('Insecure connection') pritext = _('Insecure connection')
sectext = _('You are about to connect to the server with an insecure ' sectext = _('You are about to connect to the server with an insecure '
@ -1320,7 +1320,7 @@ class Interface:
del self.instances[obj.conn.name]['online_dialog']['insecure_ssl'] del self.instances[obj.conn.name]['online_dialog']['insecure_ssl']
obj.conn.disconnect(on_purpose=True) obj.conn.disconnect(on_purpose=True)
gajim.nec.push_incoming_event(OurShowEvent(None, conn=obj.conn, gajim.nec.push_incoming_event(OurShowEvent(None, conn=obj.conn,
show='offline') show='offline'))
pritext = _('Insecure connection') pritext = _('Insecure connection')
sectext = _('You are about to send your password on an insecure ' sectext = _('You are about to send your password on an insecure '
@ -1362,7 +1362,7 @@ class Interface:
['insecure_password'] ['insecure_password']
obj.conn.disconnect(on_purpose=True) obj.conn.disconnect(on_purpose=True)
gajim.nec.push_incoming_event(OurShowEvent(None, conn=obj.conn, gajim.nec.push_incoming_event(OurShowEvent(None, conn=obj.conn,
show='offline') show='offline'))
pritext = _('Insecure connection') pritext = _('Insecure connection')
sectext = _('You are about to send your password unencrypted on an ' sectext = _('You are about to send your password unencrypted on an '