aboutsummaryrefslogtreecommitdiffstats
path: root/smime
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-08-18 10:28:55 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-08-18 10:28:55 +0800
commitfc8ef470ade0877d60d66c3e903992ae5f2940ad (patch)
tree2462fb0bcdb69933ebf10b93f63d66679e8c6e0c /smime
parent89f8c62482ccd4117ede30406243bcd53f9ddef0 (diff)
downloadgsoc2013-evolution-fc8ef470ade0877d60d66c3e903992ae5f2940ad.tar.gz
gsoc2013-evolution-fc8ef470ade0877d60d66c3e903992ae5f2940ad.tar.zst
gsoc2013-evolution-fc8ef470ade0877d60d66c3e903992ae5f2940ad.zip
** See bug #62963.
2004-08-16 Not Zed <NotZed@Ximian.com> ** See bug #62963. * gui/cert-trust-dialog.c (ctd_response): fix c99 syntax. Spotted by Vincent Noel <vnoel@cox.net> svn path=/trunk/; revision=26958
Diffstat (limited to 'smime')
-rw-r--r--smime/ChangeLog7
-rw-r--r--smime/gui/cert-trust-dialog.c4
2 files changed, 9 insertions, 2 deletions
diff --git a/smime/ChangeLog b/smime/ChangeLog
index 2837a597ec..2e0e2da083 100644
--- a/smime/ChangeLog
+++ b/smime/ChangeLog
@@ -1,3 +1,10 @@
+2004-08-16 Not Zed <NotZed@Ximian.com>
+
+ ** See bug #62963.
+
+ * gui/cert-trust-dialog.c (ctd_response): fix c99 syntax. Spotted
+ by Vincent Noel <vnoel@cox.net>
+
2004-08-12 Carlos Garnacho Parro <carlosg@gnome.org>
* gui/certificate-manager.c: Optionally use GtkFileChooser if
diff --git a/smime/gui/cert-trust-dialog.c b/smime/gui/cert-trust-dialog.c
index 3148adfaa9..b36d99ff53 100644
--- a/smime/gui/cert-trust-dialog.c
+++ b/smime/gui/cert-trust-dialog.c
@@ -79,12 +79,12 @@ ctd_response(GtkWidget *w, guint id, CertTrustDialogData *data)
CERT_ChangeCertTrust (CERT_GetDefaultCertDB(), icert, &trust);
break;
case GTK_RESPONSE_ACCEPT: {
- g_signal_stop_emission_by_name(w, "response");
-
/* just *what on earth* was chris thinking here!?!?! copied from certificate-manager.c */
GtkWidget *dialog = ca_trust_dialog_show (data->cacert, FALSE);
CERTCertificate *icert = e_cert_get_internal_cert (data->cacert);
+ g_signal_stop_emission_by_name(w, "response");
+
ca_trust_dialog_set_trust (dialog,
e_cert_trust_has_trusted_ca (icert->trust, TRUE, FALSE, FALSE),
e_cert_trust_has_trusted_ca (icert->trust, FALSE, TRUE, FALSE),