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:19:01 +0800 |
commit | a3466c699447997ee4a20b9b1625660470f9cd4f (patch) | |
tree | 77ac796d5779f0ff8a63a357b5230b4dd114f914 | |
parent | 666085079730b8870e2d498375e88673ef24c7b1 (diff) | |
download | gsoc2013-evolution-a3466c699447997ee4a20b9b1625660470f9cd4f.tar.gz gsoc2013-evolution-a3466c699447997ee4a20b9b1625660470f9cd4f.tar.zst gsoc2013-evolution-a3466c699447997ee4a20b9b1625660470f9cd4f.zip |
** BUGFIX: 573170 - Add back support for vfolder of vfolders.
Don't defer from loading vfolders of vfolders. We can handle it now.
-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); |