evolution r37500 - in trunk/smime: . gui



Author: mcrha
Date: Tue Apr  7 12:11:12 2009
New Revision: 37500
URL: http://svn.gnome.org/viewvc/evolution?rev=37500&view=rev

Log:
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.



Modified:
   trunk/smime/ChangeLog
   trunk/smime/gui/certificate-manager.c

Modified: trunk/smime/gui/certificate-manager.c
==============================================================================
--- trunk/smime/gui/certificate-manager.c	(original)
+++ trunk/smime/gui/certificate-manager.c	Tue Apr  7 12:11:12 2009
@@ -963,7 +963,10 @@
 	     !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);
 		}
 	}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]