diff options
Diffstat (limited to 'mail/em-folder-browser.c')
-rw-r--r-- | mail/em-folder-browser.c | 5 |
1 files changed, 3 insertions, 2 deletions
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); } |