From ce6bb045a6540369f3fe8159dad4d9b9600ba583 Mon Sep 17 00:00:00 2001
From: Not Zed <NotZed@Ximian.com>
Date: Tue, 4 May 2004 07:48:14 +0000
Subject: ** See #57979.

2004-05-04  Not Zed  <NotZed@Ximian.com>

        ** See #57979.

        * camel-vee-folder.c (subfolder_renamed_update): when the
        subfolder gets renamed, remove all the old uid's and add the new
        ones (since the uid is based on the subordinate folder name).
        (subfolder_renamed): listen to renamed folder events.

        * providers/local/camel-mbox-store.c (get_folder_info): if we're
        getting a single folder with no children, make sure we fill the
        counts out.  Fixes some rename strangeness.

        * camel-vee-folder.c (camel_vee_folder_add_folder): hook onto the
        folder renamed signal.
        (camel_vee_folder_finalise): unhook folder_renamed signal.
        (camel_vee_folder_remove_folder): same.

svn path=/trunk/; revision=25776
---
 camel/providers/local/camel-mbox-store.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'camel/providers')

diff --git a/camel/providers/local/camel-mbox-store.c b/camel/providers/local/camel-mbox-store.c
index b9d3a976d1..4893853689 100644
--- a/camel/providers/local/camel-mbox-store.c
+++ b/camel/providers/local/camel-mbox-store.c
@@ -823,7 +823,8 @@ get_folder_info(CamelStore *store, const char *top, guint32 flags, CamelExceptio
 			fi->child = scan_dir (store, url, visited, fi, subdir, top, flags, ex);
 		else
 			fill_fi(store, fi, flags);
-	}
+	} else
+		fill_fi(store, fi, flags);
 	
 	camel_url_free (url);
 	
-- 
cgit v1.2.3