From 3359bcbf62aadd5cdae7159492386b80c3b9d3eb 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 445993919..74fbc283f 100644 --- a/src/dialogs.py +++ b/src/dialogs.py @@ -5414,6 +5414,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() @@ -5438,5 +5439,4 @@ class SSLErrorDialog(ConfirmationDialogDoubleCheck): area.pack_start(b) def on_cert_clicked(self, button): - d = CertificatDialog(self, self.account, self.cert) - d.set_title(_('Certificate')) + CertificatDialog(self, self.account, self.cert)