From 0c7f584760ab79d65f52a40844c10fed1564f1f5 Mon Sep 17 00:00:00 2001 From: Srinivasa Ragavan Date: Thu, 2 Aug 2007 05:10:51 +0000 Subject: Fix from Lucky to expand newly created folder svn path=/trunk/; revision=33926 --- mail/em-folder-browser.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'mail/em-folder-browser.c') diff --git a/mail/em-folder-browser.c b/mail/em-folder-browser.c index 58a694fb90..7af149fba5 100644 --- a/mail/em-folder-browser.c +++ b/mail/em-folder-browser.c @@ -1415,6 +1415,7 @@ emfb_folder_create(BonoboUIComponent *uid, void *data, const char *path) EMFolderBrowser *emfb = data; CamelFolderInfo *fi = NULL; CamelException ex; + EMFolderTree *tree = g_object_get_data (G_OBJECT (emfb), "foldertree"); camel_exception_init (&ex); @@ -1425,9 +1426,9 @@ emfb_folder_create(BonoboUIComponent *uid, void *data, const char *path) emfb->view.folder->full_name, CAMEL_STORE_FOLDER_INFO_FAST, &ex)) != NULL) - em_folder_utils_create_folder(fi); + em_folder_utils_create_folder(fi, tree); } else { - em_folder_utils_create_folder(NULL); + em_folder_utils_create_folder(NULL, tree); } -- cgit