* Applied patch by yourpalal that fixes #5918, ie. removed the accidental

localizing of add-on paths.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36648 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2010-05-06 13:23:46 +00:00
parent 2271983375
commit 212c4c0a20

View File

@ -304,7 +304,7 @@ void Account::CreateInbound()
if (!BEntry(path.Path()).Exists()) {
find_directory(B_BEOS_ADDONS_DIRECTORY,&path);
path.Append(kSystemFilterAddOnPath);
path.Append(TR ("New mail notification"));
path.Append("New mail notification");
}
BEntry(path.Path()).GetRef(&ref);
fInbound->AddFilter(msg,ref);
@ -312,11 +312,11 @@ void Account::CreateInbound()
// Inbox
path = addOnPath;
path.Append(kSystemFilterAddOnPath);
path.Append(TR ("Inbox"));
path.Append("Inbox");
if (!BEntry(path.Path()).Exists()) {
find_directory(B_BEOS_ADDONS_DIRECTORY,&path);
path.Append(kSystemFilterAddOnPath);
path.Append(TR ("Inbox"));
path.Append("Inbox");
}
BEntry(path.Path()).GetRef(&ref);
fInbound->AddFilter(msg,ref);
@ -347,11 +347,11 @@ void Account::CreateOutbound()
path = addOnPath;
path.Append(kSystemFilterAddOnPath);
path.Append(TR ("Outbox"));
path.Append("Outbox");
if (!BEntry(path.Path()).Exists()) {
find_directory(B_BEOS_ADDONS_DIRECTORY,&path);
path.Append(kSystemFilterAddOnPath);
path.Append(TR ("Outbox"));
path.Append("Outbox");
}
BEntry(path.Path()).GetRef(&ref);
fOutbound->AddFilter(msg,ref);