[evolution-rss] sanitize folder name remove dot from name for maildir store



commit 8cf03b9610cbfffc1f009bc8a07c7c82949b733c
Author: Lucian Langa <lucilanga gnome org>
Date:   Fri Mar 4 12:29:33 2011 +0200

    sanitize folder name
    remove dot from name for maildir store

 src/rss.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/rss.c b/src/rss.c
index d8bdba2..9e84cc9 100644
--- a/src/rss.c
+++ b/src/rss.c
@@ -3932,7 +3932,10 @@ lookup_feed_folder(gchar *folder)
 {
 	gchar *new_folder = g_hash_table_lookup(
 				rf->reversed_feed_folders, folder);
-	return new_folder ? new_folder : folder;
+	/* replace remaining dots with spaces - dots aren't supported since evo's Maildir migration*/
+#if EVOLUTION_VERSION > 29103
+	return g_strdelimit(new_folder ? new_folder : folder, ".", ' ');
+#endif
 }
 
 gchar *



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]