aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-folder-commands.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-09-26 02:06:29 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-09-26 02:06:29 +0800
commit6a5efeb0f98a88afbbe18af740df7a209bb1c71b (patch)
tree0b7cc11115a6fa4ff45f634545fad0c842c1e7d0 /shell/e-shell-folder-commands.c
parent541c29f0d9914395cf5a2b840edc5e88c5f809bd (diff)
downloadgsoc2013-evolution-6a5efeb0f98a88afbbe18af740df7a209bb1c71b.tar.gz
gsoc2013-evolution-6a5efeb0f98a88afbbe18af740df7a209bb1c71b.tar.zst
gsoc2013-evolution-6a5efeb0f98a88afbbe18af740df7a209bb1c71b.zip
[Finish fixing #11645.]
* e-shell-folder-commands.c (xfer_result_callback): Don't update the shortcuts here anymore since now the shell takes care of it. * e-shell.c (storage_set_moved_folder_callback): New callback for EStorageSetView::folder_moved; update the shortcuts. (e_shell_construct): Connect. * e-storage-set.c: Renamed StorageConverterCallbackData to StorageCallbackData. New members destination_folder, source_folder, operation in it. (class_init): Install "moved_folder" signal. (storage_callback_data_new): Renamed from storage_converter_callback_data_new. (storage_callback_data_free): New. (storage_callback): Renamed from storage_callback_converter. Use storage_callback_data_free(). (e_storage_set_async_create_folder): Updated to use the storage_callback and storage_callback_data_new(). (e_storage_set_async_remove_folder): Likewise. (e_storage_set_async_xfer_folder): Likewise. * e-storage-set.h: New signal "moved_folder". svn path=/trunk/; revision=18216
Diffstat (limited to 'shell/e-shell-folder-commands.c')
-rw-r--r--shell/e-shell-folder-commands.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/shell/e-shell-folder-commands.c b/shell/e-shell-folder-commands.c
index 3fe90163b8..884fa97c05 100644
--- a/shell/e-shell-folder-commands.c
+++ b/shell/e-shell-folder-commands.c
@@ -149,21 +149,6 @@ xfer_result_callback (EStorageSet *storage_set,
g_free (msg);
}
- if (folder_command_data->command == FOLDER_COMMAND_MOVE) {
- char *source_uri;
- char *destination_uri;
-
- source_uri = g_strconcat (E_SHELL_URI_PREFIX, folder_command_data->source_path, NULL);
- destination_uri = g_strconcat (E_SHELL_URI_PREFIX, folder_command_data->destination_path, NULL);
-
- e_shortcuts_update_shortcuts_for_changed_uri
- (e_shell_get_shortcuts (folder_command_data->shell),
- source_uri, destination_uri);
-
- g_free (source_uri);
- g_free (destination_uri);
- }
-
folder_command_data_free (folder_command_data);
}