diff options
author | Milan Crha <mcrha@redhat.com> | 2009-04-07 20:11:12 +0800 |
---|---|---|
committer | Milan Crha <mcrha@src.gnome.org> | 2009-04-07 20:11:12 +0800 |
commit | 7b76c88e4d1a4a510ac88c2e1f177fd8c9c3f830 (patch) | |
tree | 0d0691fa8fe94356a3b2ae97735a85519f6c2799 /smime/gui | |
parent | f8d913a688c5cdff082b18cccfb847650a900ff0 (diff) | |
download | gsoc2013-evolution-7b76c88e4d1a4a510ac88c2e1f177fd8c9c3f830.tar.gz gsoc2013-evolution-7b76c88e4d1a4a510ac88c2e1f177fd8c9c3f830.tar.zst gsoc2013-evolution-7b76c88e4d1a4a510ac88c2e1f177fd8c9c3f830.zip |
** Fix for bug #539002
2009-04-07 Milan Crha <mcrha@redhat.com>
** Fix for bug #539002
* gui/certificate-manager.c: (load_certs):
Show all other certificates in a contact tab.
svn path=/trunk/; revision=37500
Diffstat (limited to 'smime/gui')
-rw-r--r-- | smime/gui/certificate-manager.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/smime/gui/certificate-manager.c b/smime/gui/certificate-manager.c index 330fef7187..2d1c8c17c4 100644 --- a/smime/gui/certificate-manager.c +++ b/smime/gui/certificate-manager.c @@ -963,7 +963,10 @@ load_certs (CertificateManagerData *cfm, !CERT_LIST_END(node, certList); node = CERT_LIST_NEXT(node)) { ECert *cert = e_cert_new ((CERTCertificate*)node->cert); - if (e_cert_get_cert_type(cert) == type) { + ECertType ct = e_cert_get_cert_type (cert); + + /* show everything else in a contact tab */ + if (ct == type || (type == E_CERT_CONTACT && ct != E_CERT_CA && ct != E_CERT_USER)) { add_cert (cfm, cert); } } |