prevent gtk warning

This commit is contained in:
Yann Leboulanger 2013-09-15 12:11:18 +02:00
parent c5b20c8bce
commit 0d8eedbdca
1 changed files with 1 additions and 1 deletions

View File

@ -5426,7 +5426,6 @@ class VoIPCallReceivedDialog(object):
class CertificatDialog(InformationDialog): class CertificatDialog(InformationDialog):
def __init__(self, parent, account, cert): def __init__(self, parent, account, cert):
self.set_title(_('Certificate for account %s') % account)
issuer = cert.get_issuer() issuer = cert.get_issuer()
subject = cert.get_subject() subject = cert.get_subject()
InformationDialog.__init__(self, InformationDialog.__init__(self,
@ -5455,6 +5454,7 @@ SHA1 Fingerprint: %(sha1)s''') % {
'io': cert.get_notBefore(), 'eo': cert.get_notAfter(), 'io': cert.get_notBefore(), 'eo': cert.get_notAfter(),
'sha1': cert.digest('sha1')}) 'sha1': cert.digest('sha1')})
self.set_transient_for(parent) self.set_transient_for(parent)
self.set_title(_('Certificate for account %s') % account)
class CheckFingerprintDialog(YesNoDialog): class CheckFingerprintDialog(YesNoDialog):