aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-accounts.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-03-07 09:55:15 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-03-07 09:55:15 +0800
commitf795b74c588eebd0fc4cbb4da8bd82c44a2418ca (patch)
treeda06d3eb69ef3d1044aa96530976b55b6028ff57 /mail/mail-accounts.c
parenta5f1eab95048a288339a991ee8006aeaf43499d5 (diff)
downloadgsoc2013-evolution-f795b74c588eebd0fc4cbb4da8bd82c44a2418ca.tar.gz
gsoc2013-evolution-f795b74c588eebd0fc4cbb4da8bd82c44a2418ca.tar.zst
gsoc2013-evolution-f795b74c588eebd0fc4cbb4da8bd82c44a2418ca.zip
Disable the NNTP code if NNTP is not enabled. This prevents some runtime
2001-03-06 Jeffrey Stedfast <fejj@ximian.com> * 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
Diffstat (limited to 'mail/mail-accounts.c')
-rw-r--r--mail/mail-accounts.c4
1 files changed, 3 insertions, 1 deletions
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 *