diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-02-13 08:02:47 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-02-13 08:02:47 +0800 |
commit | 34f5839fa9c3f13ac15491d4881ae937bba9f894 (patch) | |
tree | 53af1b0e2a9627e32da0a4a1d4804401d2dd07e6 /camel | |
parent | 8e329fc40b813057c0b2a02e621695e685d22df5 (diff) | |
download | gsoc2013-evolution-34f5839fa9c3f13ac15491d4881ae937bba9f894.tar.gz gsoc2013-evolution-34f5839fa9c3f13ac15491d4881ae937bba9f894.tar.zst gsoc2013-evolution-34f5839fa9c3f13ac15491d4881ae937bba9f894.zip |
mbox, mh, and maildir camel-url's need absolute paths.
2001-02-12 Jeffrey Stedfast <fejj@ximian.com>
* providers/local/camel-local-provider.c: mbox, mh, and maildir
camel-url's need absolute paths.
* camel-provider.h (CAMEL_URL_PATH_IS_ABSOLUTE): New flaggy flag.
svn path=/trunk/; revision=8193
Diffstat (limited to 'camel')
-rw-r--r-- | camel/ChangeLog | 7 | ||||
-rw-r--r-- | camel/camel-provider.h | 1 | ||||
-rw-r--r-- | camel/providers/local/camel-local-provider.c | 6 |
3 files changed, 11 insertions, 3 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index 93dcc6cfac..bcdd652f38 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,10 @@ +2001-02-12 Jeffrey Stedfast <fejj@ximian.com> + + * providers/local/camel-local-provider.c: mbox, mh, and maildir + camel-url's need absolute paths. + + * camel-provider.h (CAMEL_URL_PATH_IS_ABSOLUTE): New flaggy flag. + 2001-02-08 Dan Winship <danw@ximian.com> * camel-store.c: Rewrite a bunch. Replace the existing folder diff --git a/camel/camel-provider.h b/camel/camel-provider.h index f5a434cde5..07d62106ea 100644 --- a/camel/camel-provider.h +++ b/camel/camel-provider.h @@ -76,6 +76,7 @@ extern char *camel_provider_type_name[CAMEL_NUM_PROVIDER_TYPES]; #define CAMEL_URL_NEED_PORT (1 << 10 | 1 << 4) #define CAMEL_URL_NEED_PATH (1 << 11 | 1 << 5) +#define CAMEL_URL_PATH_IS_ABSOLUTE (1 << 12) typedef struct { /* Provider name used in CamelURLs. */ diff --git a/camel/providers/local/camel-local-provider.c b/camel/providers/local/camel-local-provider.c index 77960a1b4a..2d66d59503 100644 --- a/camel/providers/local/camel-local-provider.c +++ b/camel/providers/local/camel-local-provider.c @@ -37,7 +37,7 @@ static CamelProvider mh_provider = { N_("For storing local mail in MH-like mail directories"), "mail", CAMEL_PROVIDER_IS_STORAGE, - CAMEL_URL_NEED_PATH, + CAMEL_URL_NEED_PATH | CAMEL_URL_PATH_IS_ABSOLUTE, {0, 0}, NULL }; @@ -48,7 +48,7 @@ static CamelProvider mbox_provider = { N_("For storing local mail in standard mbox format"), "mail", CAMEL_PROVIDER_IS_SOURCE | CAMEL_PROVIDER_IS_STORAGE, - CAMEL_URL_NEED_PATH, + CAMEL_URL_NEED_PATH | CAMEL_URL_PATH_IS_ABSOLUTE, { 0, 0 }, NULL }; @@ -59,7 +59,7 @@ static CamelProvider maildir_provider = { N_("For storing local mail in qmail maildir directories"), "mail", CAMEL_PROVIDER_IS_SOURCE | CAMEL_PROVIDER_IS_STORAGE, - CAMEL_URL_NEED_PATH, + CAMEL_URL_NEED_PATH | CAMEL_URL_PATH_IS_ABSOLUTE, { 0, 0 }, NULL }; |