aboutsummaryrefslogtreecommitdiffstats
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
parenta5f1eab95048a288339a991ee8006aeaf43499d5 (diff)
downloadgsoc2013-evolution-f795b74c588eebd0fc4cbb4da8bd82c44a2418ca.tar
gsoc2013-evolution-f795b74c588eebd0fc4cbb4da8bd82c44a2418ca.tar.gz
gsoc2013-evolution-f795b74c588eebd0fc4cbb4da8bd82c44a2418ca.tar.bz2
gsoc2013-evolution-f795b74c588eebd0fc4cbb4da8bd82c44a2418ca.tar.lz
gsoc2013-evolution-f795b74c588eebd0fc4cbb4da8bd82c44a2418ca.tar.xz
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
-rw-r--r--mail/ChangeLog3
-rw-r--r--mail/mail-accounts.c4
2 files changed, 6 insertions, 1 deletions
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 <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.
2001-03-01 Miguel de Icaza <miguel@ximian.com>
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 *