aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-tree-model.c
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@novell.com>2008-07-28 03:07:29 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2008-07-28 03:07:29 +0800
commit40547a996b1100b0f51897acda2a7d22dc6db2cb (patch)
treecbecbf4a71461f7ace9d7db43cb83fcf10f7608f /mail/em-folder-tree-model.c
parent9c885600370b92367512f6a4009acd4dd13a5f09 (diff)
downloadgsoc2013-evolution-40547a996b1100b0f51897acda2a7d22dc6db2cb.tar.gz
gsoc2013-evolution-40547a996b1100b0f51897acda2a7d22dc6db2cb.tar.zst
gsoc2013-evolution-40547a996b1100b0f51897acda2a7d22dc6db2cb.zip
** Fix for bug #543411
2008-07-28 Srinivasa Ragavan <sragavan@novell.com> ** Fix for bug #543411 * mail/em-folder-tree-model.c: Dont load known folders. * mail/em-folder-tree.c: Move iter to the last entry. svn path=/trunk/; revision=35841
Diffstat (limited to 'mail/em-folder-tree-model.c')
-rw-r--r--mail/em-folder-tree-model.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mail/em-folder-tree-model.c b/mail/em-folder-tree-model.c
index ce6e15a851..7037479c96 100644
--- a/mail/em-folder-tree-model.c
+++ b/mail/em-folder-tree-model.c
@@ -448,6 +448,10 @@ em_folder_tree_model_set_folder_info (EMFolderTreeModel *model, GtkTreeIter *ite
const char *name;
guint32 flags;
+ /* make sure we don't already know about it? */
+ if (g_hash_table_lookup (si->full_hash, fi->full_name))
+ return;
+
if (!fully_loaded)
load = fi->child == NULL && !(fi->flags & (CAMEL_FOLDER_NOCHILDREN | CAMEL_FOLDER_NOINFERIORS));