aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-vfolder.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index f1c458fc4d..2ab006a650 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2002-07-22 Not Zed <NotZed@Ximian.com>
+
+ * mail-vfolder.c (store_folder_renamed): When renaming, use
+ full_name to set the folder, not name, so the path is preserved.
+
2002-07-20 Larry Ewing <lewing@ximian.com>
* mail-format.c (mail_get_message_body): recognize urls in plain
diff --git a/mail/mail-vfolder.c b/mail/mail-vfolder.c
index 069dda3f00..18691529fd 100644
--- a/mail/mail-vfolder.c
+++ b/mail/mail-vfolder.c
@@ -687,7 +687,7 @@ store_folder_renamed(CamelObject *o, void *event_data, void *data)
g_assert(rule);
gtk_signal_disconnect_by_func((GtkObject *)rule, rule_changed, folder);
- filter_rule_set_name(rule, info->new->name);
+ filter_rule_set_name(rule, info->new->full_name);
gtk_signal_connect((GtkObject *)rule, "changed", rule_changed, folder);
user = g_strdup_printf("%s/vfolders.xml", evolution_dir);