From 69b66732903d6d7d36118cc84134be0c5d45c12c Mon Sep 17 00:00:00 2001 From: Denis Fomin Date: Tue, 27 Aug 2013 23:21:16 +0400 Subject: [PATCH] [Darlan] Set title for ssl error dialogs --- src/dialogs.py | 1 + src/gui_interface.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/dialogs.py b/src/dialogs.py index 6eb49a8eb..d48e82915 100644 --- a/src/dialogs.py +++ b/src/dialogs.py @@ -5463,6 +5463,7 @@ class CheckFingerprintDialog(YesNoDialog): def on_cert_clicked(self, button): d = CertificatDialog(self, self.account, self.cert) + d.set_title(_('Certificate')) class SSLErrorDialog(ConfirmationDialogDoubleCheck): def __init__(self, account, certificate, pritext, sectext, checktext1, diff --git a/src/gui_interface.py b/src/gui_interface.py index df2fa26da..d6e2c557c 100644 --- a/src/gui_interface.py +++ b/src/gui_interface.py @@ -1351,6 +1351,8 @@ class Interface: dialogs.SSLErrorDialog(obj.conn.name, obj.certificate, pritext, sectext, checktext1, checktext2, on_response_ok=on_ok, on_response_cancel=on_cancel) + self.instances[account]['online_dialog']['ssl_error'].set_title( + _('SSL Certificate Verification')) def handle_event_fingerprint_error(self, obj): # ('FINGERPRINT_ERROR', account, (new_fingerprint,))