diff options
author | Chris Toshok <toshok@helixcode.com> | 2000-10-05 05:41:13 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2000-10-05 05:41:13 +0800 |
commit | 9eb9d37c84cb0b57bd4789806c343ff2b4f6be7e (patch) | |
tree | 766a3a5606717430468777d4527304389d120162 /camel | |
parent | 60b04c2ac577a4139bd388f38c6c335bf262de61 (diff) | |
download | gsoc2013-evolution-9eb9d37c84cb0b57bd4789806c343ff2b4f6be7e.tar gsoc2013-evolution-9eb9d37c84cb0b57bd4789806c343ff2b4f6be7e.tar.gz gsoc2013-evolution-9eb9d37c84cb0b57bd4789806c343ff2b4f6be7e.tar.bz2 gsoc2013-evolution-9eb9d37c84cb0b57bd4789806c343ff2b4f6be7e.tar.lz gsoc2013-evolution-9eb9d37c84cb0b57bd4789806c343ff2b4f6be7e.tar.xz 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')
-rw-r--r-- | camel/ChangeLog | 5 | ||||
-rw-r--r-- | camel/providers/nntp/camel-nntp-provider.c | 25 |
2 files changed, 7 insertions, 23 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index 7e64d5597a..294fd8ebb0 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,5 +1,10 @@ 2000-10-04 Chris Toshok <toshok@helixcode.com> + * providers/nntp/camel-nntp-provider.c + (camel_provider_module_init): news: -> nntp:. + +2000-10-04 Chris Toshok <toshok@helixcode.com> + * providers/nntp/camel-nntp-store.c (nntp_store_get_folder_info): use "nntp:" instead of "news:" since "news:" urls aren't supposed to have host/user/port info in them. also, if there's a user 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); } |