From fedf164cb97afe53eab3e3e4fcfb1765e89a61b5 Mon Sep 17 00:00:00 2001 From: 9 Date: Mon, 29 Oct 2001 05:06:28 +0000 Subject: Copy the folder's full_name before trying to use it to rename. 2001-10-29 * mail-vfolder.c (rule_changed): Copy the folder's full_name before trying to use it to rename. (vfolder_edit_rule): Set 'orig' to be a reference of the original rule. (edit_rule_clicked): Dont lookup orig by name, copy it over instead. * folder-browser.c (got_folder): oops, emit signal before unreffing object, incase we got killded during getting folder. (got_folder): Reset get_id. (folder_browser_new): Set get_id of the get_folder task. (folder_browser_init): Init get_id. (folder_browser_destroy): IF we have outstanding 'get folder' op, cancel it. svn path=/trunk/; revision=14323 --- mail/mail-local.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mail/mail-local.c') diff --git a/mail/mail-local.c b/mail/mail-local.c index c2f1ad87f7..77dec887b5 100644 --- a/mail/mail-local.c +++ b/mail/mail-local.c @@ -821,7 +821,7 @@ static void mls_rename_folder(CamelStore *store, const char *old_name, const char *new_name, CamelException *ex) { CamelStore *real_store; - MailLocalStore *mls = (MailLocalStore *)store; + /*MailLocalStore *mls = (MailLocalStore *)store;*/ char *uri; /*CamelException local_ex;*/ struct _local_meta *meta; -- cgit