aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers
diff options
context:
space:
mode:
authorChris Toshok <toshok@helixcode.com>2000-10-05 05:41:13 +0800
committerChris Toshok <toshok@src.gnome.org>2000-10-05 05:41:13 +0800
commit9eb9d37c84cb0b57bd4789806c343ff2b4f6be7e (patch)
tree766a3a5606717430468777d4527304389d120162 /camel/providers
parent60b04c2ac577a4139bd388f38c6c335bf262de61 (diff)
downloadgsoc2013-evolution-9eb9d37c84cb0b57bd4789806c343ff2b4f6be7e.tar.gz
gsoc2013-evolution-9eb9d37c84cb0b57bd4789806c343ff2b4f6be7e.tar.zst
gsoc2013-evolution-9eb9d37c84cb0b57bd4789806c343ff2b4f6be7e.zip
news: -> nntp:.
2000-10-04 Chris Toshok <toshok@helixcode.com> * providers/nntp/camel-nntp-provider.c (camel_provider_module_init): news: -> nntp:. svn path=/trunk/; revision=5720
Diffstat (limited to 'camel/providers')
-rw-r--r--camel/providers/nntp/camel-nntp-provider.c25
1 files changed, 2 insertions, 23 deletions
diff --git a/camel/providers/nntp/camel-nntp-provider.c b/camel/providers/nntp/camel-nntp-provider.c
index 214fd4b0fa..f8e8916865 100644
--- a/camel/providers/nntp/camel-nntp-provider.c
+++ b/camel/providers/nntp/camel-nntp-provider.c
@@ -29,30 +29,15 @@
#include "camel-session.h"
static CamelProvider news_provider = {
- "news",
- "USENET news",
-
- "This is a read-only provider for USENET newsgroups.",
-
- "news",
-
- CAMEL_PROVIDER_IS_REMOTE | CAMEL_PROVIDER_IS_STORAGE,
-
- { 0, 0 },
-
- NULL
-};
-
-static CamelProvider nntp_provider = {
"nntp",
- "USENET news via NNTP",
+ "USENET news",
"This is a provider for reading from and posting to"
"USENET newsgroups.",
"news",
- CAMEL_PROVIDER_IS_REMOTE,
+ CAMEL_PROVIDER_IS_REMOTE | CAMEL_PROVIDER_IS_STORAGE,
{ 0, 0 },
@@ -64,16 +49,10 @@ camel_provider_module_init (CamelSession *session)
{
news_provider.object_types[CAMEL_PROVIDER_STORE] =
camel_nntp_store_get_type();
-#ifdef NOTYET
- nntp_provider.object_types[CAMEL_PROVIDER_TRANSPORT] =
- camel_nntp_transport_get_type();
-#endif
news_provider.service_cache = g_hash_table_new (camel_url_hash, camel_url_equal);
- nntp_provider.service_cache = g_hash_table_new (camel_url_hash, camel_url_equal);
camel_session_register_provider (session, &news_provider);
- camel_session_register_provider (session, &nntp_provider);
}