[evolution-rss] replace dot with space in folder name Since evolution changed default store to Maildir it seems we c
- From: Lucian Langa <lucilanga src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-rss] replace dot with space in folder name Since evolution changed default store to Maildir it seems we c
- Date: Thu, 20 Jan 2011 11:15:39 +0000 (UTC)
commit 717749ec58db2cc551771ff444dae498692a27c6
Author: Lucian Langa <lucilanga gnome org>
Date: Thu Jan 20 13:14:38 2011 +0200
replace dot with space in folder name
Since evolution changed default store to Maildir it seems
we cannot add folders containing dots.
src/misc.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/misc.c b/src/misc.c
index 5710e58..f9809b4 100644
--- a/src/misc.c
+++ b/src/misc.c
@@ -230,6 +230,10 @@ sanitize_folder(gchar *text)
while (*tmp2 == '.') tmp2++;
tmp2 = g_strdup (tmp2);
g_free (tmp);
+ /* replace remaining dots with spaces - dots aren't supported since evo's Maildir migration*/
+#if EVOLUTION_VERSION > 29103
+ g_strdelimit(tmp2, ".", ' ');
+#endif
return tmp2;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]