aboutsummaryrefslogtreecommitdiffstats
path: root/mail/component-factory.c
diff options
context:
space:
mode:
authorChris Toshok <toshok@helixcode.com>2001-01-17 07:18:17 +0800
committerChris Toshok <toshok@src.gnome.org>2001-01-17 07:18:17 +0800
commit281420328953182128ecf03cbe2f771c75028e40 (patch)
treec3504d4deee36fddab63f5eba48ad78397fb214f /mail/component-factory.c
parentd9287d3d323bc577b62ede013a47e4e39379b9a0 (diff)
downloadgsoc2013-evolution-281420328953182128ecf03cbe2f771c75028e40.tar
gsoc2013-evolution-281420328953182128ecf03cbe2f771c75028e40.tar.gz
gsoc2013-evolution-281420328953182128ecf03cbe2f771c75028e40.tar.bz2
gsoc2013-evolution-281420328953182128ecf03cbe2f771c75028e40.tar.lz
gsoc2013-evolution-281420328953182128ecf03cbe2f771c75028e40.tar.xz
gsoc2013-evolution-281420328953182128ecf03cbe2f771c75028e40.tar.zst
gsoc2013-evolution-281420328953182128ecf03cbe2f771c75028e40.zip
only load the news storage if ENABLE_NNTP.
2001-01-16 Chris Toshok <toshok@helixcode.com> * component-factory.c (owner_set_cb): only load the news storage if ENABLE_NNTP. * mail-accounts.c (construct): if !ENABLE_NNTP, remove the news page from the dialog. svn path=/trunk/; revision=7550
Diffstat (limited to 'mail/component-factory.c')
-rw-r--r--mail/component-factory.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/component-factory.c b/mail/component-factory.c
index 9e990c4d53..a88d303215 100644
--- a/mail/component-factory.c
+++ b/mail/component-factory.c
@@ -190,8 +190,10 @@ owner_set_cb (EvolutionShellComponent *shell_component,
accounts = mail_config_get_accounts ();
mail_load_storages (corba_shell, accounts, TRUE);
+#ifdef ENABLE_NNTP
news = mail_config_get_news ();
mail_load_storages (corba_shell, news, FALSE);
+#endif
mail_local_storage_startup (shell_client, evolution_dir);