commit 938dd69d23a1186c1c40df1b87668051fffc7b93 Author: Oswald Buddenhagen <o...@kde.org> Date: Sun Sep 16 13:03:13 2012 +0200
consider hierarchy delimiter flattening when deciding what to list flattened sub-folders of INBOX actually end up in Path, so list that instead. REFMAIL: 6c0ecbff0d025387020281c5d2f5e...@smallsys.org src/main.c | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/src/main.c b/src/main.c index 5e8bb49..8d092a2 100644 --- a/src/main.c +++ b/src/main.c @@ -713,8 +713,13 @@ store_opened( store_t *ctx, void *aux ) if (c != strinbox[i]) goto nextpat; } - if (!c || c == '/') { + if (!c) { flags |= LIST_INBOX; + } else if (c == '/') { + if (ctx->conf->flat_delim) + flags |= LIST_PATH; + else + flags |= LIST_INBOX; } else { nextpat: flags |= LIST_PATH; ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________ isync-devel mailing list isync-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/isync-devel