aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camel/ChangeLog7
-rw-r--r--camel/camel-provider.h1
-rw-r--r--camel/providers/local/camel-local-provider.c6
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
};