From 9eb9d37c84cb0b57bd4789806c343ff2b4f6be7e Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Wed, 4 Oct 2000 21:41:13 +0000 Subject: news: -> nntp:. 2000-10-04 Chris Toshok * providers/nntp/camel-nntp-provider.c (camel_provider_module_init): news: -> nntp:. svn path=/trunk/; revision=5720 --- camel/providers/nntp/camel-nntp-provider.c | 25 ++----------------------- 1 file changed, 2 insertions(+), 23 deletions(-) (limited to 'camel/providers/nntp') 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); } -- cgit v1.2.3