diff options
author | Srinivasa Ragavan <sragavan@novell.com> | 2009-05-03 23:07:40 +0800 |
---|---|---|
committer | Srinivasa Ragavan <sragavan@novell.com> | 2009-05-03 23:13:03 +0800 |
commit | 735c74a10f8f6265cc650ab7f907f668f195b2e4 (patch) | |
tree | 9a1440d6b46a6227ffb1487df1f093f0db79d42b /mail | |
parent | a8ee44b505bb9d8c7dad2dd567f15c689ba2a243 (diff) | |
download | gsoc2013-evolution-735c74a10f8f6265cc650ab7f907f668f195b2e4.tar.gz gsoc2013-evolution-735c74a10f8f6265cc650ab7f907f668f195b2e4.tar.zst gsoc2013-evolution-735c74a10f8f6265cc650ab7f907f668f195b2e4.zip |
** BUGFIX: 573170 - Add back support for vfolder of vfolders.
Don't defer from loading vfolders of vfolders. We can handle it now.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/mail-vfolder.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/mail/mail-vfolder.c b/mail/mail-vfolder.c index ee0ab21e23..5ba3f17427 100644 --- a/mail/mail-vfolder.c +++ b/mail/mail-vfolder.c @@ -102,12 +102,6 @@ vfolder_setup_exec (struct _setup_msg *m) l = m->sources_uri; while (l && !shutdown) { d(printf(" Adding uri: %s\n", (char *)l->data)); - if (strncmp((char *)l->data, "vfolder:/", 9) == 0 || - strncmp((char *)l->data, "email://vfolder@local", 21) == 0) { - g_warning ("VFolder of VFolders not supporting. Ignoring loading this vfolder as a subfolder\n"); - l=l->next; - continue; - } folder = mail_tool_uri_to_folder (l->data, 0, &m->base.ex); if (folder) { @@ -266,11 +260,6 @@ vfolder_adduri_exec (struct _adduri_msg *m) g_warning("Folder '%s' disappeared while I was adding/remove it to/from my vfolder", m->uri); return; } - if (strncmp(m->uri, "vfolder:/", 9) == 0 || - strncmp(m->uri, "email://vfolder@local", 21) == 0) { - printf("Ignoring loading vfolder as a subfolder \n"); - return; - } if (folder == NULL) folder = mail_tool_uri_to_folder (m->uri, 0, &m->base.ex); @@ -710,14 +699,6 @@ rule_add_sources(GList *l, GList **sources_folderp, GList **sources_urip) while (l) { char *curi = em_uri_to_camel(l->data); - if (strncmp((char *)l->data, "vfolder:/", 9) == 0 || - strncmp((char *)l->data, "email://vfolder@local", 21) == 0) { - g_warning ("VFolder of VFolders not supporting. Ignoring loading this vfolder as a subfolder\n"); - l=l->next; - g_free(curi); - continue; - } - if (mail_note_get_folder_from_uri(curi, &newfolder)) { if (newfolder) sources_folder = g_list_append(sources_folder, newfolder); |