aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2002-07-22 17:02:58 +0800
committerMichael Zucci <zucchi@src.gnome.org>2002-07-22 17:02:58 +0800
commit2d77ed3f0dd15fa64ff4269643633c77371e7848 (patch)
tree006c11950662bb360e1934c1b1072398f971f32f
parent1c34a2bf9e2af5fc4ea52f7b983071cddd390611 (diff)
downloadgsoc2013-evolution-2d77ed3f0dd15fa64ff4269643633c77371e7848.tar
gsoc2013-evolution-2d77ed3f0dd15fa64ff4269643633c77371e7848.tar.gz
gsoc2013-evolution-2d77ed3f0dd15fa64ff4269643633c77371e7848.tar.bz2
gsoc2013-evolution-2d77ed3f0dd15fa64ff4269643633c77371e7848.tar.lz
gsoc2013-evolution-2d77ed3f0dd15fa64ff4269643633c77371e7848.tar.xz
gsoc2013-evolution-2d77ed3f0dd15fa64ff4269643633c77371e7848.tar.zst
gsoc2013-evolution-2d77ed3f0dd15fa64ff4269643633c77371e7848.zip
When renaming, use full_name to set the folder, not name, so the path is
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. svn path=/trunk/; revision=17523
-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);