зеркало из https://github.com/mozilla/pjs.git
work for #169638. spam UI. add the ability to search by junk status to the advanced search UI. r/sr=mscott
This commit is contained in:
Родитель
c3c09442af
Коммит
fbbe31aacc
|
@ -526,9 +526,9 @@ function GetLabelStrings()
|
|||
if (!gLabelStrings.length)
|
||||
{
|
||||
var prefString;
|
||||
var pref = Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefBranch);
|
||||
for (var index = 0; index < 6; index++)
|
||||
{
|
||||
var pref = Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefBranch);
|
||||
prefString = pref.getComplexValue("mailnews.labels.description." + index, Components.interfaces.nsIPrefLocalizedString);
|
||||
gLabelStrings[index] = prefString;
|
||||
}
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
43=reserved for AB
|
||||
44=reserved for AB
|
||||
45=reserved for AB
|
||||
46=reserved for AB
|
||||
46=Junk Status
|
||||
47=Sender
|
||||
48=Label
|
||||
# don't use above 49
|
||||
|
|
|
@ -42,6 +42,8 @@ typedef long nsMsgSearchScopeValue;
|
|||
|
||||
typedef long nsMsgPriorityValue;
|
||||
|
||||
typedef unsigned long nsMsgJunkStatus;
|
||||
|
||||
[scriptable, uuid(94C0D8D8-2045-11d3-8A8F-0060B0FC04D2)]
|
||||
interface nsMsgPriority {
|
||||
const nsMsgPriorityValue notSet = 0;
|
||||
|
|
Загрузка…
Ссылка в новой задаче