-2007-04-12 11:54 -0700 Brendan Cully <brendan@kublai.com> (3ee4effbb8e8)
+2007-04-12 17:55 -0700 Brendan Cully <brendan@kublai.com> (73894f3f1943)
+
+ * mh.c: Only call mutt_set_flag when necessary when checking for
+ maildir changes (fixes #1216)
+
+ * flags.c: Only update header color in mutt_set_flag if flag has
+ changed (see #1216, #1931)
* init.h: Make $header_cache_compress default to set
progress_t progress;
memset (&mhs, 0, sizeof (mhs));
- snprintf (msgbuf, sizeof (msgbuf), _("Reading %s..."), ctx->path);
+ if (ctx->magic == M_MAILDIR)
+ snprintf (msgbuf, sizeof (msgbuf), _("Scanning %s..."), ctx->path);
+ else
+ snprintf (msgbuf, sizeof (msgbuf), _("Reading %s..."), ctx->path);
mutt_progress_init (&progress, msgbuf, M_PROGRESS_MSG, ReadInc, 0);
if (!ctx->data)
#endif /* USE_INODESORT */
if (ctx->magic == M_MAILDIR)
+ {
+ snprintf (msgbuf, sizeof (msgbuf), _("Reading %s..."), ctx->path);
+ mutt_progress_init (&progress, msgbuf, M_PROGRESS_MSG, ReadInc, 0);
maildir_delayed_parsing (ctx, md, &progress);
+ }
maildir_move_to_context (ctx, &md);