Bug 820377 Port bug 819940 remove EnumerateForwards/Backwards on nsISupportsArray r=Neil.

Missed one mgr.accounts.Count() in /suite/mailnews/mail3PaneWindowCommands.js.
This commit is contained in:
Philip Chee 2012-12-20 00:29:45 +08:00
Родитель c54bf6c0a1
Коммит ae6d674f97
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -340,7 +340,7 @@ var DefaultController =
case "cmd_displayMsgFilters": case "cmd_displayMsgFilters":
let mgr = Components.classes["@mozilla.org/messenger/account-manager;1"] let mgr = Components.classes["@mozilla.org/messenger/account-manager;1"]
.getService(Components.interfaces.nsIMsgAccountManager); .getService(Components.interfaces.nsIMsgAccountManager);
return mgr.accounts.Count() > 0; return mgr.accounts.length > 0;
case "cmd_applyFilters": case "cmd_applyFilters":
if (gDBView) if (gDBView)
gDBView.getCommandStatus(nsMsgViewCommandType.applyFilters, enabled, checkStatus); gDBView.getCommandStatus(nsMsgViewCommandType.applyFilters, enabled, checkStatus);