diff options
author | Dan Winship <danw@src.gnome.org> | 2000-05-29 05:29:28 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-05-29 05:29:28 +0800 |
commit | 28a05ec767c48e1f77eee0064c28fdad3ca9d73c (patch) | |
tree | 1a38ff901a6418083f4efe59c962c589b25265de | |
parent | 2aefb91c92de321b813c5a9d8d9619f670417e08 (diff) | |
download | gsoc2013-evolution-28a05ec767c48e1f77eee0064c28fdad3ca9d73c.tar.gz gsoc2013-evolution-28a05ec767c48e1f77eee0064c28fdad3ca9d73c.tar.zst gsoc2013-evolution-28a05ec767c48e1f77eee0064c28fdad3ca9d73c.zip |
Add a domain field to CamelProvider, to say what kind of data it provides.
* camel-provider.h: Add a domain field to CamelProvider, to say
what kind of data it provides.
* providers/imap/camel-imap-provider.c:
* providers/mbox/camel-mbox-provider.c:
* providers/pop3/camel-pop3-provider.c:
* providers/sendmail/camel-sendmail-provider.c:
* providers/smtp/camel-smtp-provider.c: Set domain to "mail".
* providers/nntp/camel-nntp-provider.c: Set domain to "news".
* providers/vee/camel-vee-provider.c: Set domain to "vfolder". (So
it doesn't end up being listed as a potential mail source in the
mail config wizard.)
svn path=/trunk/; revision=3254
-rw-r--r-- | camel/ChangeLog | 15 | ||||
-rw-r--r-- | camel/camel-provider.h | 6 | ||||
-rw-r--r-- | camel/providers/imap/camel-imap-provider.c | 7 | ||||
-rw-r--r-- | camel/providers/mbox/camel-mbox-provider.c | 2 | ||||
-rw-r--r-- | camel/providers/nntp/camel-nntp-provider.c | 4 | ||||
-rw-r--r-- | camel/providers/pop3/camel-pop3-provider.c | 2 | ||||
-rw-r--r-- | camel/providers/sendmail/camel-sendmail-provider.c | 2 | ||||
-rw-r--r-- | camel/providers/smtp/camel-smtp-provider.c | 2 | ||||
-rw-r--r-- | camel/providers/vee/camel-vee-provider.c | 2 |
9 files changed, 39 insertions, 3 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index eb5f704beb..504676950c 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,5 +1,20 @@ 2000-05-28 Dan Winship <danw@helixcode.com> + * camel-provider.h: Add a domain field to CamelProvider, to say + what kind of data it provides. + + * providers/imap/camel-imap-provider.c: + * providers/mbox/camel-mbox-provider.c: + * providers/pop3/camel-pop3-provider.c: + * providers/sendmail/camel-sendmail-provider.c: + * providers/smtp/camel-smtp-provider.c: Set domain to "mail". + + * providers/nntp/camel-nntp-provider.c: Set domain to "news". + + * providers/vee/camel-vee-provider.c: Set domain to "vfolder". (So + it doesn't end up being listed as a potential mail source in the + mail config wizard.) + * providers/pop3/camel-pop3-store.c: Split apart password and APOP auth, since some servers seem to do both, but don't really. (connect_to_server): Renamed from try_connect. Now actually does diff --git a/camel/camel-provider.h b/camel/camel-provider.h index 463f415d1b..5f3c3d7c26 100644 --- a/camel/camel-provider.h +++ b/camel/camel-provider.h @@ -64,6 +64,12 @@ typedef struct { */ char *description; + /* The category of message that this provider works with. + * (evolution-mail will only list a provider in the store/transport + * config dialogs if its domain is "mail".) + */ + char *domain; + int flags; GtkType object_types [CAMEL_NUM_PROVIDER_TYPES]; diff --git a/camel/providers/imap/camel-imap-provider.c b/camel/providers/imap/camel-imap-provider.c index cf43687bbe..92013a9643 100644 --- a/camel/providers/imap/camel-imap-provider.c +++ b/camel/providers/imap/camel-imap-provider.c @@ -30,10 +30,11 @@ static CamelProvider imap_provider = { "imap", - "IMAPv4 mail store", + "IMAPv4", - "For reading mail on remote systems and " - "storing mail on remote servers.", + "For reading and storing mail on IMAP servers.", + + "mail", 0, diff --git a/camel/providers/mbox/camel-mbox-provider.c b/camel/providers/mbox/camel-mbox-provider.c index 04ce88de12..ade04aa20d 100644 --- a/camel/providers/mbox/camel-mbox-provider.c +++ b/camel/providers/mbox/camel-mbox-provider.c @@ -35,6 +35,8 @@ static CamelProvider mbox_provider = { "For reading mail delivered by the local system, and for " "storing mail on local disk.", + "mail", + 0, { 0, 0 } diff --git a/camel/providers/nntp/camel-nntp-provider.c b/camel/providers/nntp/camel-nntp-provider.c index fe50a1f952..4afc8c7c97 100644 --- a/camel/providers/nntp/camel-nntp-provider.c +++ b/camel/providers/nntp/camel-nntp-provider.c @@ -34,6 +34,8 @@ static CamelProvider news_provider = { "This is a read-only provider for USENET newsgroups.", + "news", + CAMEL_PROVIDER_IS_REMOTE, { 0, 0 } @@ -46,6 +48,8 @@ static CamelProvider nntp_provider = { "This is a provider for reading from and posting to" "USENET newsgroups.", + "news", + CAMEL_PROVIDER_IS_REMOTE, { 0, 0 } diff --git a/camel/providers/pop3/camel-pop3-provider.c b/camel/providers/pop3/camel-pop3-provider.c index dc6e2b9442..40514ad60a 100644 --- a/camel/providers/pop3/camel-pop3-provider.c +++ b/camel/providers/pop3/camel-pop3-provider.c @@ -36,6 +36,8 @@ static CamelProvider pop3_provider = { "to retrieve mail from certain web mail providers and proprietary " "email systems.", + "mail", + CAMEL_PROVIDER_IS_REMOTE, { 0, 0 } diff --git a/camel/providers/sendmail/camel-sendmail-provider.c b/camel/providers/sendmail/camel-sendmail-provider.c index 16ebce8b12..dce20e4041 100644 --- a/camel/providers/sendmail/camel-sendmail-provider.c +++ b/camel/providers/sendmail/camel-sendmail-provider.c @@ -35,6 +35,8 @@ static CamelProvider sendmail_provider = { "For delivering mail by passing it to the \"sendmail\" program " "on the local system.", + "mail", + 0, { 0, 0 } diff --git a/camel/providers/smtp/camel-smtp-provider.c b/camel/providers/smtp/camel-smtp-provider.c index d93b03edc4..9e6f571498 100644 --- a/camel/providers/smtp/camel-smtp-provider.c +++ b/camel/providers/smtp/camel-smtp-provider.c @@ -34,6 +34,8 @@ static CamelProvider smtp_provider = { "For delivering mail by connecting to a remote mailhub using SMTP.", + "mail", + 0, { 0, 0 } diff --git a/camel/providers/vee/camel-vee-provider.c b/camel/providers/vee/camel-vee-provider.c index b9c20b4561..3d0063b55c 100644 --- a/camel/providers/vee/camel-vee-provider.c +++ b/camel/providers/vee/camel-vee-provider.c @@ -30,6 +30,8 @@ static CamelProvider vee_provider = { "For reading mail as a query of another set of folders", + "vfolder", + 0, { 0, 0 } |