From c5b20c8bcec70453d59450034da1e479a36f99f3 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Fri, 13 Sep 2013 07:30:09 +0200 Subject: [PATCH] set title of fingerprint dialog. Fixes #7239 --- src/dialogs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dialogs.py b/src/dialogs.py index 7cde8b5b6..be0a0bfb8 100644 --- a/src/dialogs.py +++ b/src/dialogs.py @@ -5465,6 +5465,7 @@ class CheckFingerprintDialog(YesNoDialog): YesNoDialog.__init__(self, pritext, sectext=sectext, checktext=checktext, on_response_yes=on_response_yes, on_response_no=on_response_no) + self.set_title(_('SSL Certificate Verification for %s') % account) b = Gtk.Button(_('View cert...')) b.connect('clicked', self.on_cert_clicked) b.show_all() @@ -5472,8 +5473,7 @@ class CheckFingerprintDialog(YesNoDialog): area.pack_start(b, True, True, 0) def on_cert_clicked(self, button): - d = CertificatDialog(self, self.account, self.cert) - d.set_title(_('Certificate')) + CertificatDialog(self, self.account, self.cert) class SSLErrorDialog(ConfirmationDialogDoubleCheck): def __init__(self, account, certificate, pritext, sectext, checktext1,