set title of fingerprint dialog. Fixes #7239
This commit is contained in:
parent
7c5485ab2e
commit
c5b20c8bce
|
@ -5465,6 +5465,7 @@ class CheckFingerprintDialog(YesNoDialog):
|
||||||
YesNoDialog.__init__(self, pritext, sectext=sectext,
|
YesNoDialog.__init__(self, pritext, sectext=sectext,
|
||||||
checktext=checktext, on_response_yes=on_response_yes,
|
checktext=checktext, on_response_yes=on_response_yes,
|
||||||
on_response_no=on_response_no)
|
on_response_no=on_response_no)
|
||||||
|
self.set_title(_('SSL Certificate Verification for %s') % account)
|
||||||
b = Gtk.Button(_('View cert...'))
|
b = Gtk.Button(_('View cert...'))
|
||||||
b.connect('clicked', self.on_cert_clicked)
|
b.connect('clicked', self.on_cert_clicked)
|
||||||
b.show_all()
|
b.show_all()
|
||||||
|
@ -5472,8 +5473,7 @@ class CheckFingerprintDialog(YesNoDialog):
|
||||||
area.pack_start(b, True, True, 0)
|
area.pack_start(b, True, True, 0)
|
||||||
|
|
||||||
def on_cert_clicked(self, button):
|
def on_cert_clicked(self, button):
|
||||||
d = CertificatDialog(self, self.account, self.cert)
|
CertificatDialog(self, self.account, self.cert)
|
||||||
d.set_title(_('Certificate'))
|
|
||||||
|
|
||||||
class SSLErrorDialog(ConfirmationDialogDoubleCheck):
|
class SSLErrorDialog(ConfirmationDialogDoubleCheck):
|
||||||
def __init__(self, account, certificate, pritext, sectext, checktext1,
|
def __init__(self, account, certificate, pritext, sectext, checktext1,
|
||||||
|
|
Loading…
Reference in New Issue