projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6da3c27
)
Remove unnecessary check and add a comment.
author
Murray Cumming
<murrayc@murrayc.com>
Thu, 24 May 2007 08:26:03 +0000
(08:26 +0000)
committer
Murray Cumming
<murrayc@murrayc.com>
Thu, 24 May 2007 08:26:03 +0000
(08:26 +0000)
pmo-trunk-r1967
src/widgets/modest-folder-view.c
patch
|
blob
|
history
diff --git
a/src/widgets/modest-folder-view.c
b/src/widgets/modest-folder-view.c
index
6df05de
..
1c7538e
100644
(file)
--- 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 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);
/* 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);
g_object_unref (instance);