From 1bb96b143e7afb0c5d66fa332c117c769d02f99e Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Mon, 10 Sep 2001 20:08:15 +0000 Subject: Hide the S/MIME frame if we don't support S/MIME. 2001-09-10 Jeffrey Stedfast * mail-account-gui.c (mail_account_gui_new): Hide the S/MIME frame if we don't support S/MIME. svn path=/trunk/; revision=12743 --- mail/ChangeLog | 3 +++ mail/mail-account-gui.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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 + * 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; -- cgit v1.2.3