Index: camel/providers/local/camel-local-provider.c
===================================================================
--- camel/providers/local/camel-local-provider.c	(revision 7790)
+++ camel/providers/local/camel-local-provider.c	(working copy)
@@ -116,7 +116,7 @@
 	N_("For reading and storing local mail in external standard mbox spool files.\nMay also be used to read a tree of Elm, Pine, or Mutt style folders."),
 	"mail",
 	CAMEL_PROVIDER_IS_SOURCE | CAMEL_PROVIDER_IS_STORAGE,
-	CAMEL_URL_NEED_PATH | CAMEL_URL_PATH_IS_ABSOLUTE | CAMEL_URL_FRAGMENT_IS_PATH,
+	CAMEL_URL_NEED_PATH | CAMEL_URL_ALLOW_PATH_FILE | CAMEL_URL_PATH_IS_ABSOLUTE | CAMEL_URL_FRAGMENT_IS_PATH,
 	spool_conf_entries,
 	/* ... */
 };
Index: camel/providers/local/ChangeLog
===================================================================
--- camel/providers/local/ChangeLog	(revision 7790)
+++ camel/providers/local/ChangeLog	(working copy)
@@ -1,3 +1,10 @@
+2007-05-31  Milan Crha  <mcrha@redhat.com>
+
+	** Fix for bug #352346
+	
+	* camel-local-provider.c:
+	Added flag CAMEL_URL_ALLOW_PATH_FILE into spool_provider's url_flags.
+
 2007-05-16  Jules Colding  <colding@omesc.com>
 
 	* camel-spool-summary.c (spool_summary_sync_full): Use g_mkstemp()
Index: camel/ChangeLog
===================================================================
--- camel/ChangeLog	(revision 7790)
+++ camel/ChangeLog	(working copy)
@@ -1,3 +1,11 @@
+2007-05-31  Milan Crha  <mcrha@redhat.com>
+
+	** Fix for bug #352346
+	
+	* camel-provider.h: Added new constants CAMEL_URL_PART_PATH_FILE and
+	CAMEL_URL_ALLOW_PATH_FILE; when CAMEL_URL_ALLOW_PATH_FILE is set, then
+	in editor dialog one has option to choose from file or folder to select.
+
 2007-05-24  Ross Burton  <ross@openedhand.com>
 
 	* providers/sendmail/Makefile.am:
Index: camel/camel-provider.h
===================================================================
--- camel/camel-provider.h	(revision 7790)
+++ camel/camel-provider.h	(working copy)
@@ -81,6 +81,7 @@
 #define CAMEL_URL_PART_HOST	 (1 << 3)
 #define CAMEL_URL_PART_PORT	 (1 << 4)
 #define CAMEL_URL_PART_PATH	 (1 << 5)
+#define CAMEL_URL_PART_PATH_FILE (1 << 6)
 
 #define CAMEL_URL_PART_NEED	       8
 #define CAMEL_URL_PART_HIDDEN	(CAMEL_URL_PART_NEED + 8)
@@ -97,6 +98,7 @@
 #define CAMEL_URL_ALLOW_HOST	 (CAMEL_URL_PART_HOST)
 #define CAMEL_URL_ALLOW_PORT	 (CAMEL_URL_PART_PORT)
 #define CAMEL_URL_ALLOW_PATH	 (CAMEL_URL_PART_PATH)
+#define CAMEL_URL_ALLOW_PATH_FILE (CAMEL_URL_PART_PATH_FILE)
 
 #define CAMEL_URL_NEED_USER	 (CAMEL_URL_PART_USER << CAMEL_URL_PART_NEED)
 #define CAMEL_URL_NEED_AUTH	 (CAMEL_URL_PART_AUTH << CAMEL_URL_PART_NEED)
