mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-18 07:45:30 +00:00
ignore spotlight subdirectories when doing local folder discovery, sr=mscott, part of 290057
This commit is contained in:
parent
69506e4f95
commit
32875d5b06
@ -220,7 +220,9 @@ nsShouldIgnoreFile(nsString& name)
|
||||
name.LowerCaseEqualsLiteral("feeditems.rdf"))
|
||||
return PR_TRUE;
|
||||
|
||||
return (nsStringEndsWith(name,".sbd") || nsStringEndsWith(name,SUMMARY_SUFFIX));
|
||||
// The .mozmsgs dir is for spotlight support
|
||||
return (nsStringEndsWith(name, ".mozmsgs") || nsStringEndsWith(name,".sbd") ||
|
||||
nsStringEndsWith(name,SUMMARY_SUFFIX));
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
|
Loading…
Reference in New Issue
Block a user