From fe4fd587aea9bd72c73831ff864d0dd70fec3dd7 Mon Sep 17 00:00:00 2001 From: Murray Cumming Date: Thu, 24 May 2007 08:26:03 +0000 Subject: [PATCH] Remove unnecessary check and add a comment. pmo-trunk-r1967 --- src/widgets/modest-folder-view.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/widgets/modest-folder-view.c b/src/widgets/modest-folder-view.c index 6df05de..1c7538e 100644 --- a/src/widgets/modest-folder-view.c +++ b/src/widgets/modest-folder-view.c @@ -701,11 +701,7 @@ filter_row (GtkTreeModel *model, /* If it isn't a special folder, * don't show it unless it is the visible account: */ - if (strcmp (account_id, MODEST_ACTUAL_LOCAL_FOLDERS_ACCOUNT_ID) && - strcmp (account_id, MODEST_MMC_ACCOUNT_ID)) { - - /* TODO: Merge the folders before we get to this point? */ - + if (strcmp (account_id, MODEST_MMC_ACCOUNT_ID)) { /* Show only the visible account id */ ModestFolderViewPrivate *priv = MODEST_FOLDER_VIEW_GET_PRIVATE (data); @@ -714,6 +710,8 @@ filter_row (GtkTreeModel *model, } } } + + /* The virtual local-folders folder store is also shown by default. */ g_object_unref (instance); -- 1.7.9.5