projects
/
platform
/
upstream
/
evolution-data-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0226a9
)
Bug #660829 - Allow 'Mark as read' in right click menu on spam folder
author
Milan Crha
<mcrha@redhat.com>
Tue, 11 Oct 2011 08:02:33 +0000
(10:02 +0200)
committer
Milan Crha
<mcrha@redhat.com>
Tue, 11 Oct 2011 08:02:33 +0000
(10:02 +0200)
camel/providers/local/camel-maildir-store.c
patch
|
blob
|
history
diff --git
a/camel/providers/local/camel-maildir-store.c
b/camel/providers/local/camel-maildir-store.c
index
3a5a2b0
..
4bd0cba
100644
(file)
--- a/
camel/providers/local/camel-maildir-store.c
+++ b/
camel/providers/local/camel-maildir-store.c
@@
-628,7
+628,9
@@
maildir_store_get_folder_info_sync (CamelStore *store,
const gchar *name = strrchr (top, '/');
fi = scan_fi (store, flags, url, top, name ? name + 1 : top, cancellable);
- if (scan_dirs (store, flags, &fi, url, cancellable, error) == -1)
+ if (g_strcmp0 (fi->full_name, CAMEL_VTRASH_NAME) != 0 &&
+ g_strcmp0 (fi->full_name, CAMEL_VJUNK_NAME) != 0 &&
+ scan_dirs (store, flags, &fi, url, cancellable, error) == -1)
goto fail;
}