From 5a4fa8505d6a81836da77e2cc07e5fbd0cd21b7c Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Fri, 3 Nov 2000 18:22:34 +0000 Subject: Add an "url_flags" field to CamelProvider. Move the CAMEL_SERVICE_URL_* * camel-provider.h: Add an "url_flags" field to CamelProvider. Move the CAMEL_SERVICE_URL_* defines here and remove the SERVICE_ part of the name. * camel-service.h: Remove CAMEL_SERVICE_URL_* flags and service->url_flags field. * camel-service.c (check_url, get_path): Get URL flags from service->provider, update for changed flag names. * providers/*/camel-*-provider.c: Add URL flags to provider structures. * providers/*/camel-*-{store,transport}.c, camel-remote-store.c: Remove service->url_flags initialization. svn path=/trunk/; revision=6370 --- camel/providers/mbox/camel-mbox-provider.c | 2 ++ camel/providers/mbox/camel-mbox-store.c | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'camel/providers/mbox') diff --git a/camel/providers/mbox/camel-mbox-provider.c b/camel/providers/mbox/camel-mbox-provider.c index 3130a3ffd9..bfce8b5ada 100644 --- a/camel/providers/mbox/camel-mbox-provider.c +++ b/camel/providers/mbox/camel-mbox-provider.c @@ -40,6 +40,8 @@ static CamelProvider mbox_provider = { CAMEL_PROVIDER_IS_SOURCE | CAMEL_PROVIDER_IS_STORAGE, + CAMEL_URL_NEED_PATH, + { 0, 0 }, NULL diff --git a/camel/providers/mbox/camel-mbox-store.c b/camel/providers/mbox/camel-mbox-store.c index 68ecfd229e..e3110ef3d3 100644 --- a/camel/providers/mbox/camel-mbox-store.c +++ b/camel/providers/mbox/camel-mbox-store.c @@ -69,11 +69,8 @@ camel_mbox_store_class_init (CamelMboxStoreClass *camel_mbox_store_class) static void camel_mbox_store_init (gpointer object, gpointer klass) { - CamelService *service = CAMEL_SERVICE (object); CamelStore *store = CAMEL_STORE (object); - service->url_flags = CAMEL_SERVICE_URL_NEED_PATH; - /* mbox names are filenames, so they are case-sensitive. */ store->folders = g_hash_table_new (g_str_hash, g_str_equal); } -- cgit v1.2.3