how SSL error message in bold. fixes #720

This commit is contained in:
Yann Leboulanger 2007-12-27 23:33:05 +00:00
parent e25ac90068
commit f95df09441
2 changed files with 2 additions and 2 deletions

View File

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

View File

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