Now the spam filter works with BeMail. In any case, checking if the user has
the Spam Filter enables on any of his accounts does not seem to be a good way to determine if we should show the Spam icon or not. Maybe we should check if the Spam Server is available? git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9674 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -241,7 +241,7 @@ TMailApp::AboutRequested()
|
||||
(new BAlert("",
|
||||
"BeMail\nBy Robert Polic\n\n"
|
||||
"Enhanced by Axel Dörfler and the Dr. Zoidberg crew\n\n"
|
||||
"Mail.cpp $Revision: 1.2 $\n"
|
||||
"Mail.cpp $Revision: 1.3 $\n"
|
||||
"Compiled on " __DATE__ " at " __TIME__ ".",
|
||||
"Close"))->Go();
|
||||
}
|
||||
@@ -781,7 +781,9 @@ TMailApp::CheckForSpamFilterExistence()
|
||||
for (addonNameIndex = 0; B_OK == settingsMessage.FindString (
|
||||
"filter_addons", addonNameIndex, &addonNamePntr);
|
||||
addonNameIndex++) {
|
||||
if (strstr (addonNamePntr, "SpamFilter") != NULL) {
|
||||
printf("%s\n", addonNamePntr);
|
||||
if (strstr (addonNamePntr, "Spam Filter") != NULL) {
|
||||
printf("Found it\n");
|
||||
gShowSpamGUI = true; // Found it!
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user