[evolution-data-server] Insert the full_name of the folder into hash_table



commit 8c57a6c7a99c0bb9556e6dda38b2f5a6d5d4bab4
Author: Chenthill Palanisamy <pchenthill novell com>
Date:   Wed Feb 10 12:21:13 2010 +0530

    Insert the full_name of the folder into hash_table

 camel/providers/imapx/camel-imapx-store.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/camel/providers/imapx/camel-imapx-store.c b/camel/providers/imapx/camel-imapx-store.c
index ec6422b..eba951a 100644
--- a/camel/providers/imapx/camel-imapx-store.c
+++ b/camel/providers/imapx/camel-imapx-store.c
@@ -577,7 +577,7 @@ add_folders_to_summary (CamelIMAPXStore *istore, GPtrArray *folders, GHashTable
 		} else
 			fi->name = g_strdup(camel_store_info_name(istore->summary, si));
 
-		hfi = g_hash_table_lookup (table, fi->name);
+		hfi = g_hash_table_lookup (table, fi->full_name);
 		if (hfi) {
 			if (subcribed)
 				hfi->flags |= CAMEL_STORE_INFO_FOLDER_SUBSCRIBED;
@@ -609,7 +609,7 @@ add_folders_to_summary (CamelIMAPXStore *istore, GPtrArray *folders, GHashTable
 		fi->total = -1;
 		fi->unread = -1;
 
-		g_hash_table_insert (table, fi->name, fi);
+		g_hash_table_insert (table, fi->full_name, fi);
 	}
 }
 



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