Bug 480546 - "Archive folders could have the SpecialFolder attribute "Archive" for better skin proposes" [r+sr=Standard8]
This commit is contained in:
Родитель
65f15f3beb
Коммит
7dd5f2f45a
|
@ -614,6 +614,8 @@
|
|||
aMenuNode.setAttribute("SpecialFolder", "Templates");
|
||||
else if (aFolder.flags & Ci.nsMsgFolderFlags.Junk)
|
||||
aMenuNode.setAttribute("SpecialFolder", "Junk");
|
||||
else if (aFolder.flags & Ci.nsMsgFolderFlags.Archive)
|
||||
aMenuNode.setAttribute("SpecialFolder", "Archive");
|
||||
else if (aFolder.flags & Ci.nsMsgFolderFlags.Virtual)
|
||||
aMenuNode.setAttribute("SpecialFolder", "Virtual");
|
||||
else
|
||||
|
|
|
@ -64,6 +64,8 @@ function getSpecialFolderString(aFolder) {
|
|||
return "Junk";
|
||||
if (aFolder.flags & Ci.nsMsgFolderFlags.Virtual)
|
||||
return "Virtual";
|
||||
if (aFolder.flags & Ci.nsMsgFolderFlags.Archive)
|
||||
return "Archive";
|
||||
return "none";
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче