From 6377caf298a9fb42f090ca3ce1b029e8ee2abbaf 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 7e46a753a..932106f93 100644 --- a/src/dialogs.py +++ b/src/dialogs.py @@ -5433,3 +5433,4 @@ class SSLErrorDialog(ConfirmationDialogDoubleCheck): def on_cert_clicked(self, button): d = CertificatDialog(self, self.account, self.cert) + d.set_title(_('Certificate')) diff --git a/src/gui_interface.py b/src/gui_interface.py index 6271c5858..dd38e8124 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,))