aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog3
-rw-r--r--mail/mail-account-gui.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 709b160da4..5cf239ef66 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,8 @@
2001-09-10 Jeffrey Stedfast <fejj@ximian.com>
+ * mail-account-gui.c (mail_account_gui_new): Hide the S/MIME frame
+ if we don't support S/MIME.
+
* mail-send-recv.c (build_dialogue): Attach to the destroy event
for each progressbar using bar_destroyed as the callback.
(bar_destroyed): New callback to unregister the timeout and set
diff --git a/mail/mail-account-gui.c b/mail/mail-account-gui.c
index c45437e3de..c08538e55c 100644
--- a/mail/mail-account-gui.c
+++ b/mail/mail-account-gui.c
@@ -1308,7 +1308,7 @@ mail_account_gui_new (MailConfigAccount *account)
gui->smime_always_sign = GTK_TOGGLE_BUTTON (glade_xml_get_widget (gui->xml, "smime_always_sign"));
gtk_toggle_button_set_active (gui->smime_always_sign, account->smime_always_sign);
-#ifndef HAVE_NSS
+#if !defined(HAVE_NSS) || !defined(SMIME_SUPPORTED)
{
/* Since we don't have NSS, hide the S/MIME config options */
GtkWidget *frame;