Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-exchange/ChangeLog,v
retrieving revision 1.400
diff -u -p -r1.400 ChangeLog
--- ChangeLog	16 Sep 2005 04:24:24 -0000	1.400
+++ ChangeLog	22 Sep 2005 11:34:44 -0000
@@ -1,3 +1,10 @@
+2005-09-22  Arunprakash  <arunp@novell.com>
+
+	* mail/mail-stub-exchange.c (unsubscribe_folder) : Changed to use the
+	folder name for unsubscribing favorite folder, as parent folders are
+	not involved in favorite folders.
+	** Fixes #316414.
+
 2005-09-16  Irene Huang <Irene.Huang@sun.com>
 
 	* camel/Makefile.am: Removed KRB5_LIBS from libcamelexchange_la_LIBADD.
Index: mail/mail-stub-exchange.c
===================================================================
RCS file: /cvs/gnome/evolution-exchange/mail/mail-stub-exchange.c,v
retrieving revision 1.29
diff -u -p -r1.29 mail-stub-exchange.c
--- mail/mail-stub-exchange.c	30 Aug 2005 15:09:31 -0000	1.29
+++ mail/mail-stub-exchange.c	22 Sep 2005 11:34:46 -0000
@@ -2697,7 +2697,7 @@ unsubscribe_folder (MailStub *stub, cons
 
 	g_object_unref (folder);
 	
-	pub_name = strchr (folder_name, '/');
+	pub_name = strrchr (folder_name, '/');
 	path = g_build_filename ("/favorites", pub_name, NULL);
 	folder = exchange_account_get_folder (mse->account, path);
 	if (!folder) {
