Commit 5450c089 authored by Richard P. Curnow's avatar Richard P. Curnow

Detect Sylpheed control files to indicate valid MH folders

parent e56cb320
......@@ -255,7 +255,9 @@ int filter_is_mh(const char *path, const struct stat *sb)/*{{{*/
int result = 0;
if (S_ISDIR(sb->st_mode)) {
if (has_child_file(path, ".xmhcache") ||
has_child_file(path, ".mh_sequences")) {
has_child_file(path, ".mh_sequences") ||
has_child_file(path, ".sylpheed_cache") ||
has_child_file(path, ".sylpheed_mark")) {
result = 1;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment