diff options
author | Srinivasa Ragavan <sragavan@novell.com> | 2008-11-19 13:42:02 +0800 |
---|---|---|
committer | Srinivasa Ragavan <sragavan@src.gnome.org> | 2008-11-19 13:42:02 +0800 |
commit | fe7b22387ae8788292f59479b056847e33e57f94 (patch) | |
tree | 36af5f68a73652a5221747961f62e6919645a550 /mail/mail-vfolder.c | |
parent | 56291fc3f5bde706004f1cc9e200fc7bd7ee8462 (diff) | |
download | gsoc2013-evolution-fe7b22387ae8788292f59479b056847e33e57f94.tar.gz gsoc2013-evolution-fe7b22387ae8788292f59479b056847e33e57f94.tar.zst gsoc2013-evolution-fe7b22387ae8788292f59479b056847e33e57f94.zip |
** Fix for bug #555276
2008-11-19 Srinivasa Ragavan <sragavan@novell.com>
** Fix for bug #555276
* mail/mail-vfolder.c: Don't load vfolder as subfolder.
svn path=/trunk/; revision=36799
Diffstat (limited to 'mail/mail-vfolder.c')
-rw-r--r-- | mail/mail-vfolder.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mail/mail-vfolder.c b/mail/mail-vfolder.c index f3b9b90aed..ee0ab21e23 100644 --- a/mail/mail-vfolder.c +++ b/mail/mail-vfolder.c @@ -266,6 +266,11 @@ 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); |