mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 12:25:53 +00:00
more changes, not visible to the end user yet, for spam UI. bug #169638.
change junk log name. ignore junk log file so it doesn't show in the folder pane. r/sr=bienvenu
This commit is contained in:
parent
de70300d00
commit
a09d6f1361
@ -195,7 +195,7 @@ nsSpamSettings::GetLogFileSpec(nsIFileSpec **aFileSpec)
|
||||
rv = server->GetLocalPath(aFileSpec);
|
||||
NS_ENSURE_SUCCESS(rv,rv);
|
||||
|
||||
rv = (*aFileSpec)->AppendRelativeUnixPath("spamlog.html");
|
||||
rv = (*aFileSpec)->AppendRelativeUnixPath("junklog.html");
|
||||
NS_ENSURE_SUCCESS(rv,rv);
|
||||
return NS_OK;
|
||||
}
|
||||
|
@ -192,6 +192,7 @@ nsShouldIgnoreFile(nsString& name)
|
||||
|
||||
if (name.EqualsIgnoreCase("rules.dat") ||
|
||||
name.EqualsIgnoreCase("filterlog.html") ||
|
||||
name.EqualsIgnoreCase("junklog.html") ||
|
||||
name.EqualsIgnoreCase("rulesbackup.dat"))
|
||||
return PR_TRUE;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user