projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rocco Rutte:
[apps/madmutt.git]
/
mx.c
diff --git
a/mx.c
b/mx.c
index
de22737
..
0d2ec9c
100644
(file)
--- a/
mx.c
+++ b/
mx.c
@@
-1468,6
+1468,8
@@
int mx_rebuild_cache (void) {
#endif
)
continue;
#endif
)
continue;
+ sidebar_set_current (b->path);
+ sidebar_draw (CurrentMenu);
if ((ctx = mx_open_mailbox (b->path,
M_READONLY | M_NOSORT | M_COUNT,
NULL)) != NULL)
if ((ctx = mx_open_mailbox (b->path,
M_READONLY | M_NOSORT | M_COUNT,
NULL)) != NULL)
@@
-1475,6
+1477,10
@@
int mx_rebuild_cache (void) {
}
mutt_clear_error ();
}
mutt_clear_error ();
+ if (Context && Context->path)
+ sidebar_set_current (Context->path);
+ sidebar_draw (CurrentMenu);
+
return (0);
#endif
}
return (0);
#endif
}