From 26a78dd6c542a56f384e474d23274231142ba9d9 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Wed, 22 Aug 2001 20:49:12 +0000 Subject: `#if 0'ed out. (make_bold): Likewise. * e-shell-folder-title-bar.c (label_realize_callback): `#if 0'ed out. (make_bold): Likewise. (e_shell_folder_title_bar_construct): Don't call it. * e-local-storage.c (component_async_remove_folder_callback): Only remove the directory if the component succeeds. svn path=/trunk/; revision=12392 --- shell/e-local-storage.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'shell/e-local-storage.c') diff --git a/shell/e-local-storage.c b/shell/e-local-storage.c index 5707c55aa1..8dcdff9342 100644 --- a/shell/e-local-storage.c +++ b/shell/e-local-storage.c @@ -466,9 +466,6 @@ component_async_remove_folder_callback (EvolutionShellComponentClient *shell_com callback_data = (AsyncRemoveFolderCallbackData *) data; - result = remove_folder_directory (E_LOCAL_STORAGE (callback_data->storage), - callback_data->path); - storage_result = shell_component_result_to_storage_result (result); /* If result == HASSUBFOLDERS then recurse delete the subfolders dir? */ @@ -479,6 +476,9 @@ component_async_remove_folder_callback (EvolutionShellComponentClient *shell_com priv = E_LOCAL_STORAGE (callback_data->storage)->priv; + result = remove_folder_directory (E_LOCAL_STORAGE (callback_data->storage), + callback_data->path); + e_storage_removed_folder (E_STORAGE (callback_data->storage), callback_data->path); -- cgit v1.2.3