Thiago's patch to fix the problem of duplicate "inbox" folders for online imap.
Thiago's patch to fix the problem of duplicate "inbox" folders for online imap.

Not closing #123563 because this patch does not fix the same problem
for disconnected imap.

svn path=/branches/KDE/3.5/kdepim/; revision=518857

lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi