aboutsummaryrefslogtreecommitdiffstats
path: root/mail/component-factory.c
diff options
context:
space:
mode:
author8 <NotZed@Ximian.com>2001-10-28 18:53:02 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-10-28 18:53:02 +0800
commit4229e6849ddbb2ecef6bef8177203c9b90c98686 (patch)
tree47f5b887300c08292f1b17acd03bc6b20c967edb /mail/component-factory.c
parent4ee4cf5693acf3ec206b9dda7ddaf772aa441489 (diff)
downloadgsoc2013-evolution-4229e6849ddbb2ecef6bef8177203c9b90c98686.tar
gsoc2013-evolution-4229e6849ddbb2ecef6bef8177203c9b90c98686.tar.gz
gsoc2013-evolution-4229e6849ddbb2ecef6bef8177203c9b90c98686.tar.bz2
gsoc2013-evolution-4229e6849ddbb2ecef6bef8177203c9b90c98686.tar.lz
gsoc2013-evolution-4229e6849ddbb2ecef6bef8177203c9b90c98686.tar.xz
gsoc2013-evolution-4229e6849ddbb2ecef6bef8177203c9b90c98686.tar.zst
gsoc2013-evolution-4229e6849ddbb2ecef6bef8177203c9b90c98686.zip
Remove uic, kill dumb warning.
2001-10-28 <NotZed@Ximian.com> * folder-browser-ui.c (fbui_sensitize_timeout): Remove uic, kill dumb warning. * mail-autofilter.c (mail_filter_rename_uri): Implement function for filters to keep track of uri's being renamed. (mail_filter_delete_uri): Similarly for deleting uri's. Note that these functions are just noops though. (real_flush_updates): Also rename and delete uri's from filters. (mls_delete_folder): Unref the store when done. (mls_rename_folder): Fix implementation, shell already created destination folder, so we can't just rename :( (xfer_folder): Manually call rename code, since the shell will do a remove/add later on, AND there's no way we can determine the new path from the crock of an api we have to work with. svn path=/trunk/; revision=14291
Diffstat (limited to 'mail/component-factory.c')
-rw-r--r--mail/component-factory.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/mail/component-factory.c b/mail/component-factory.c
index 92dfddb79b..0139cb43e7 100644
--- a/mail/component-factory.c
+++ b/mail/component-factory.c
@@ -384,6 +384,13 @@ xfer_folder (EvolutionShellComponent *shell_component,
if (camel_exception_is_set(&ex))
GNOME_Evolution_ShellComponentListener_notifyResult (listener, GNOME_Evolution_ShellComponentListener_INVALID_URI, &ev);
+ else {
+ /* Since the shell doesn't play nice with local folders, we have to do this manually */
+ mail_vfolder_rename_uri(store, source_physical_uri, destination_physical_uri);
+ mail_filter_rename_uri(store, source_physical_uri, destination_physical_uri);
+ GNOME_Evolution_ShellComponentListener_notifyResult (listener, GNOME_Evolution_ShellComponentListener_OK, &ev);
+ }
+ camel_object_unref((CamelObject *)store);
} else {
source = mail_tool_uri_to_folder (source_physical_uri, 0, &ex);