diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2002-09-25 05:01:04 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2002-09-25 05:01:04 +0800 |
commit | efa2ba8ab068f38e435a995d05cd99dbd1eb6fd4 (patch) | |
tree | 4f5cd8559808bfb7408e483fcd78fbadf26d8792 /shell/e-shell-folder-commands.c | |
parent | ab7d63ce8e057eaa31a1777af0837cd1005e7f44 (diff) | |
download | gsoc2013-evolution-efa2ba8ab068f38e435a995d05cd99dbd1eb6fd4.tar.gz gsoc2013-evolution-efa2ba8ab068f38e435a995d05cd99dbd1eb6fd4.tar.zst gsoc2013-evolution-efa2ba8ab068f38e435a995d05cd99dbd1eb6fd4.zip |
Placate compiler.
* e-shell-view-menu.c (launch_pilot_settings): Placate compiler.
* e-shell-folder-commands.c (xfer_result_callback): When
FOLDER_COMMAND_MOVE, update the shortcuts by using
e_shortcuts_update_shortcuts_for_changed_uri().
* e-shortcuts.c (e_shortcuts_update_shortcuts_for_changed_uri):
New.
svn path=/trunk/; revision=18206
Diffstat (limited to 'shell/e-shell-folder-commands.c')
-rw-r--r-- | shell/e-shell-folder-commands.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/shell/e-shell-folder-commands.c b/shell/e-shell-folder-commands.c index 884fa97c05..3fe90163b8 100644 --- a/shell/e-shell-folder-commands.c +++ b/shell/e-shell-folder-commands.c @@ -149,6 +149,21 @@ 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); } |