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