aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-09-11 04:08:15 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-09-11 04:08:15 +0800
commit1bb96b143e7afb0c5d66fa332c117c769d02f99e (patch)
tree6dbe0bb7eb73376958bf7ec1829c920de50f5345 /mail
parent9013c9cbd6522432ea75f4d28e7b3e513c22f76e (diff)
downloadgsoc2013-evolution-1bb96b143e7afb0c5d66fa332c117c769d02f99e.tar
gsoc2013-evolution-1bb96b143e7afb0c5d66fa332c117c769d02f99e.tar.gz
gsoc2013-evolution-1bb96b143e7afb0c5d66fa332c117c769d02f99e.tar.bz2
gsoc2013-evolution-1bb96b143e7afb0c5d66fa332c117c769d02f99e.tar.lz
gsoc2013-evolution-1bb96b143e7afb0c5d66fa332c117c769d02f99e.tar.xz
gsoc2013-evolution-1bb96b143e7afb0c5d66fa332c117c769d02f99e.tar.zst
gsoc2013-evolution-1bb96b143e7afb0c5d66fa332c117c769d02f99e.zip
Hide the S/MIME frame if we don't support S/MIME.
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. svn path=/trunk/; revision=12743
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;