how SSL error message in bold. fixes #720
This commit is contained in:
parent
e25ac90068
commit
f95df09441
|
@ -584,7 +584,7 @@ class Connection(ConnectionHandlers):
|
||||||
text = _('The authenticity of the %s certificate could be invalid.') %\
|
text = _('The authenticity of the %s certificate could be invalid.') %\
|
||||||
hostname
|
hostname
|
||||||
if errnum in ssl_error:
|
if errnum in ssl_error:
|
||||||
text += _('\nSSL Error: %s') % ssl_error[errnum]
|
text += _('\nSSL Error: <b>%s</b>') % ssl_error[errnum]
|
||||||
else:
|
else:
|
||||||
text += _('\nUnknown SSL error: %d') % errnum
|
text += _('\nUnknown SSL error: %d') % errnum
|
||||||
self.dispatch('SSL_ERROR', (text, errnum, con.Connection.ssl_cert_pem,
|
self.dispatch('SSL_ERROR', (text, errnum, con.Connection.ssl_cert_pem,
|
||||||
|
|
|
@ -1041,7 +1041,7 @@ class HigDialog(gtk.MessageDialog):
|
||||||
gtk.DIALOG_DESTROY_WITH_PARENT | gtk.DIALOG_MODAL,
|
gtk.DIALOG_DESTROY_WITH_PARENT | gtk.DIALOG_MODAL,
|
||||||
type, buttons, message_format = pritext)
|
type, buttons, message_format = pritext)
|
||||||
|
|
||||||
self.format_secondary_text(sectext)
|
self.format_secondary_markup(sectext)
|
||||||
|
|
||||||
buttons = self.action_area.get_children()
|
buttons = self.action_area.get_children()
|
||||||
possible_responses = {gtk.STOCK_OK: on_response_ok,
|
possible_responses = {gtk.STOCK_OK: on_response_ok,
|
||||||
|
|
Loading…
Reference in New Issue