aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-accounts.c
diff options
context:
space:
mode:
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 *