diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2000-09-01 14:09:29 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2000-09-01 14:09:29 +0800 |
commit | 26112575da034a7a0a79ab2238a01304348eada5 (patch) | |
tree | ef90667e30709a4f74fe931be9f27b56b9baf2e2 /mail/mail-vfolder.c | |
parent | 7df49391da6f67a7c1abee662e0d3a2c18ea9c36 (diff) | |
download | gsoc2013-evolution-26112575da034a7a0a79ab2238a01304348eada5.tar gsoc2013-evolution-26112575da034a7a0a79ab2238a01304348eada5.tar.gz gsoc2013-evolution-26112575da034a7a0a79ab2238a01304348eada5.tar.bz2 gsoc2013-evolution-26112575da034a7a0a79ab2238a01304348eada5.tar.lz gsoc2013-evolution-26112575da034a7a0a79ab2238a01304348eada5.tar.xz gsoc2013-evolution-26112575da034a7a0a79ab2238a01304348eada5.tar.zst gsoc2013-evolution-26112575da034a7a0a79ab2238a01304348eada5.zip |
Changed `Evolution::Storage' so that the displayed name for a folder
is decoupled from its path, and updated all the components
accordingly.
svn path=/trunk/; revision=5159
Diffstat (limited to 'mail/mail-vfolder.c')
-rw-r--r-- | mail/mail-vfolder.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/mail/mail-vfolder.c b/mail/mail-vfolder.c index b425fe7bec..40e3cd7f11 100644 --- a/mail/mail-vfolder.c +++ b/mail/mail-vfolder.c @@ -91,7 +91,9 @@ vfolder_refresh(void) uri = g_strdup_printf("vfolder:%s", info->name); path = g_strdup_printf("/%s", info->name); evolution_storage_removed_folder(vfolder_storage, path); - evolution_storage_new_folder (vfolder_storage, path, + evolution_storage_new_folder (vfolder_storage, + path, + g_basename (path), "mail", uri, info->name); @@ -107,7 +109,9 @@ vfolder_refresh(void) /*uri = g_strdup_printf("vfolder:%s/vfolder/%s?%s", evolution_dir, info->name, info->query);*/ uri = g_strdup_printf("vfolder:%s", info->name); path = g_strdup_printf("/%s", info->name); - evolution_storage_new_folder (vfolder_storage, path, + evolution_storage_new_folder (vfolder_storage, + path, + g_basename (path), "mail", uri, info->name); |