[evolution-data-server] CamelStore: Place Inbox at the top while building folder info



commit 16472587581204a9a81f7983bfb85f763331d360
Author: Chenthill Palanisamy <pchenthill novell com>
Date:   Wed Nov 24 17:47:38 2010 +0530

    CamelStore: Place Inbox at the top while building folder info

 camel/camel-store.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/camel/camel-store.c b/camel/camel-store.c
index d856a4f..d25cd07 100644
--- a/camel/camel-store.c
+++ b/camel/camel-store.c
@@ -1839,7 +1839,7 @@ camel_folder_info_build (GPtrArray *folders,
 				tail = tail->next;
 			tail->next = fi;
 			fi->parent = pfi;
-		} else if (!top)
+		} else if (!top || !g_ascii_strcasecmp (fi->full_name, "Inbox"))
 			top = fi;
 	}
 	g_hash_table_destroy (hash);



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