diff options
author | Not Zed <NotZed@Ximian.com> | 2002-10-24 22:01:53 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2002-10-24 22:01:53 +0800 |
commit | d91b5bb03431dc5477cacfd2b922a68a1ec623c5 (patch) | |
tree | a8f5b77e2df75140c78e1bf811f50ed9ec9a888b /camel/camel-store-summary.c | |
parent | 5f737e09fe3132cee4322b52332fc83add921d99 (diff) | |
download | gsoc2013-evolution-d91b5bb03431dc5477cacfd2b922a68a1ec623c5.tar.gz gsoc2013-evolution-d91b5bb03431dc5477cacfd2b922a68a1ec623c5.tar.zst gsoc2013-evolution-d91b5bb03431dc5477cacfd2b922a68a1ec623c5.zip |
** For bug #31647 and bug #31456.
2002-10-24 Not Zed <NotZed@Ximian.com>
** For bug #31647 and bug #31456.
* camel-store-summary.c (store_info_string): for STORE_INFO_NAME,
skip the leading /.
* providers/imap/camel-imap-store.c
(parse_list_response_as_folder_info): Remove jeff's last patch,
and use the store summary to create the name and path of the
folderinfo so it manages namespace issues.
(get_folder_info_online): Just pass @top directly to
build_folder_info always, since namespace is mapped to 1 tree
level.
(imap_build_folder_info): Remove jeff's last patch, dont strip
leading /'s, they shouldn't exist.
(imap_connect_online): Remove adding the INBOX here, we add it
later.
(get_subscribed_folders): Make sure INBOX is always in the list.
some imap servers dont seem to let you subscribe to it(?), so
always have it act as subscribed.
* camel-store.c (camel_folder_info_build): back out the last 2
patches from Jeff (for #31456) to get the original behaviour.
(camel_folder_info_build): When creating a fake
parent, dont strip the namespace from the full_name. malloc keys
in hash since we dont have them anymore.
(free_name): Helper to free names.
* providers/imap/camel-imap-store-summary.c
(camel_imap_store_summary_namespace_new): Canonicalise the
namespace (strip trailing dir_sep), and change the path to remove
any /'s.
(camel_imap_store_summary_namespace_find_path):
(camel_imap_store_summary_namespace_find_full): new, find
namespace by path/full name.
(camel_imap_store_summary_full_from_path): Changed to a simple
wrapper around path_to_full, after checking namespace.
(camel_imap_store_summary_add_from_full): map the namespace if
present.
(camel_imap_store_summary_path_to_full): If namespace exists,
unmap it.
svn path=/trunk/; revision=18424
Diffstat (limited to 'camel/camel-store-summary.c')
-rw-r--r-- | camel/camel-store-summary.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/camel-store-summary.c b/camel/camel-store-summary.c index fc839dfed7..f33205dd50 100644 --- a/camel/camel-store-summary.c +++ b/camel/camel-store-summary.c @@ -870,7 +870,7 @@ store_info_string(CamelStoreSummary *s, const CamelStoreInfo *mi, int type) case CAMEL_STORE_INFO_NAME: p = strrchr(mi->path, '/'); if (p) - return p; + return p+1; else return mi->path; case CAMEL_STORE_INFO_URI: |