aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-local-storage.c
diff options
context:
space:
mode:
authorPeter Williams <peterw@ximian.com>2001-09-04 23:30:13 +0800
committerPeter Williams <peterw@src.gnome.org>2001-09-04 23:30:13 +0800
commit3b17294f868cf76f0784aed9465bcf79f88cf37d (patch)
tree128615867c8eda0104f561581726fd1b95136f08 /shell/e-local-storage.c
parent25001583d25c1755438da7354740c965b93f9ada (diff)
downloadgsoc2013-evolution-3b17294f868cf76f0784aed9465bcf79f88cf37d.tar.gz
gsoc2013-evolution-3b17294f868cf76f0784aed9465bcf79f88cf37d.tar.zst
gsoc2013-evolution-3b17294f868cf76f0784aed9465bcf79f88cf37d.zip
Remove the folder from the EvolutionStorage as well as the EStorage.
2001-08-30 Peter Williams <peterw@ximian.com> * e-local-storage.c (async_xfer_folder_complete): Remove the folder from the EvolutionStorage as well as the EStorage. 2001-08-29 Peter Williams <peterw@ximian.com> * e-storage-set-view.c (etree_node_destroy_func): Only call remove_node_from_hash if it's not the root node. (removed_storage_cb): Don't remove the node from the hash here, because it will be removed in the node_destroyed callback. (removed_folder_cb): Same. * e-shell-view.c (e_shell_view_remove_control_for_uri): Disconnect from the destroy signal so as not to confuse ourselves. Also, the page remove in the notebook destroys the control and the socket, so don't do that explicitly. * e-shell-folder-commands.c (folder_selection_dialog_folder_selected_callback): Remove the control for the source view if we're moving. svn path=/trunk/; revision=12578
Diffstat (limited to 'shell/e-local-storage.c')
-rw-r--r--shell/e-local-storage.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/shell/e-local-storage.c b/shell/e-local-storage.c
index c3c73954c8..c06edcca9a 100644
--- a/shell/e-local-storage.c
+++ b/shell/e-local-storage.c
@@ -791,7 +791,6 @@ async_xfer_folder_complete (XferData *xfer_data)
local_storage = xfer_data->local_storage;
-#if 0
if (xfer_data->remove_source) {
EStorageResult result;
@@ -807,11 +806,14 @@ async_xfer_folder_complete (XferData *xfer_data)
/* FIXME handle failure differently? This should be n
unlikely situation. */
- if (result == E_STORAGE_OK)
+ if (result == E_STORAGE_OK) {
e_storage_removed_folder (E_STORAGE (local_storage), item->source_path);
+
+ evolution_storage_removed_folder (EVOLUTION_STORAGE (local_storage->priv->bonobo_interface),
+ item->source_path);
+ }
}
}
-#endif
/* Free the data. */