From f795b74c588eebd0fc4cbb4da8bd82c44a2418ca Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Wed, 7 Mar 2001 01:55:15 +0000 Subject: Disable the NNTP code if NNTP is not enabled. This prevents some runtime 2001-03-06 Jeffrey Stedfast * mail-accounts.c (construct): Disable the NNTP code if NNTP is not enabled. This prevents some runtime warnings... * mail-config-druid.c: Updated to have a transport auth page. svn path=/trunk/; revision=8575 --- mail/ChangeLog | 3 +++ mail/mail-accounts.c | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/mail/ChangeLog b/mail/ChangeLog index 5c30c95463..b6a5886277 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,5 +1,8 @@ 2001-03-06 Jeffrey Stedfast + * mail-accounts.c (construct): Disable the NNTP code if NNTP is + not enabled. This prevents some runtime warnings... + * mail-config-druid.c: Updated to have a transport auth page. 2001-03-01 Miguel de Icaza diff --git a/mail/mail-accounts.c b/mail/mail-accounts.c index e7bcdaa0e2..33f2bfa18b 100644 --- a/mail/mail-accounts.c +++ b/mail/mail-accounts.c @@ -494,7 +494,8 @@ construct (MailAccountsDialog *dialog) gtk_widget_set_sensitive (GTK_WIDGET (dialog->mail_delete), FALSE); gtk_widget_set_sensitive (GTK_WIDGET (dialog->mail_default), FALSE); } - + +#ifdef ENABLE_NNTP dialog->news_row = -1; dialog->news = mail_config_get_news (); if (dialog->news) { @@ -504,6 +505,7 @@ construct (MailAccountsDialog *dialog) gtk_widget_set_sensitive (GTK_WIDGET (dialog->news_edit), FALSE); gtk_widget_set_sensitive (GTK_WIDGET (dialog->news_delete), FALSE); } +#endif /* ENABLE_NNTP */ } MailAccountsDialog * -- cgit v1.2.3