mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 11:26:09 +00:00
not respecting junkFolderName property in messenger.properties
localizers can't localize "Junk" folder on local folders (IMAP is ok) r/sr=bienvenu
This commit is contained in:
parent
1be840d13a
commit
4d7cf14e20
@ -3384,7 +3384,9 @@ nsMsgLocalMailFolder::SetFlagsOnDefaultMailboxes(PRUint32 flags)
|
||||
if (flags & MSG_FOLDER_FLAG_QUEUE)
|
||||
setSubfolderFlag(NS_LITERAL_STRING("Unsent Messages").get(), MSG_FOLDER_FLAG_QUEUE);
|
||||
|
||||
// what about the Junk folder?
|
||||
if (flags & MSG_FOLDER_FLAG_JUNK)
|
||||
setSubfolderFlag(NS_LITERAL_STRING("Junk").get(), MSG_FOLDER_FLAG_JUNK);
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
@ -115,6 +115,7 @@ nsMovemailIncomingServer::SetFlagsOnDefaultMailboxes()
|
||||
MSG_FOLDER_FLAG_DRAFTS |
|
||||
MSG_FOLDER_FLAG_TEMPLATES |
|
||||
MSG_FOLDER_FLAG_TRASH |
|
||||
MSG_FOLDER_FLAG_JUNK |
|
||||
// hmm?
|
||||
MSG_FOLDER_FLAG_QUEUE);
|
||||
return NS_OK;
|
||||
|
@ -94,6 +94,7 @@ nsNoIncomingServer::SetFlagsOnDefaultMailboxes()
|
||||
MSG_FOLDER_FLAG_DRAFTS |
|
||||
MSG_FOLDER_FLAG_TEMPLATES |
|
||||
MSG_FOLDER_FLAG_TRASH |
|
||||
MSG_FOLDER_FLAG_JUNK |
|
||||
MSG_FOLDER_FLAG_QUEUE);
|
||||
return NS_OK;
|
||||
}
|
||||
|
@ -194,7 +194,8 @@ nsPop3IncomingServer::SetFlagsOnDefaultMailboxes()
|
||||
MSG_FOLDER_FLAG_SENTMAIL |
|
||||
MSG_FOLDER_FLAG_DRAFTS |
|
||||
MSG_FOLDER_FLAG_TEMPLATES |
|
||||
MSG_FOLDER_FLAG_TRASH);
|
||||
MSG_FOLDER_FLAG_TRASH |
|
||||
MSG_FOLDER_FLAG_JUNK);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user