[evolution-exchange] Bug #638085 - Duplicate folders in subscription dialog



commit 63bda0ff0f4526d9a5a82074d8332fdc875331b8
Author: Milan Crha <mcrha redhat com>
Date:   Tue Jan 11 16:33:06 2011 +0100

    Bug #638085 - Duplicate folders in subscription dialog

 camel/camel-exchange-utils.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/camel/camel-exchange-utils.c b/camel/camel-exchange-utils.c
index 323787a..16eb528 100644
--- a/camel/camel-exchange-utils.c
+++ b/camel/camel-exchange-utils.c
@@ -2041,6 +2041,10 @@ get_folder_info_data (ExchangeData *ed, const gchar *top, guint32 store_flags, G
 				}
 			}
 
+			/* folder is in the list already */
+			if (known_uris && g_hash_table_lookup (known_uris, uri) != NULL)
+				continue;
+
 			d(g_print ("folder flags is : %d\n", folder_flags));
 
 			uri = g_strdup (uri);



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