Bug 416899 - invalid handlers listed in the Application Details dialog. r=Mano, a1.9=beltzner

This commit is contained in:
florian%queze.net 2008-02-14 17:51:17 +00:00
Родитель d9102d6fea
Коммит 8f4c5326d7
1 изменённых файлов: 3 добавлений и 0 удалений

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

@ -64,6 +64,9 @@ var gAppManagerDialog = {
var apps = this.handlerInfo.possibleApplicationHandlers.enumerate(); var apps = this.handlerInfo.possibleApplicationHandlers.enumerate();
while (apps.hasMoreElements()) { while (apps.hasMoreElements()) {
let app = apps.getNext(); let app = apps.getNext();
if (!gApplicationsPane.isValidHandlerApp(app))
continue;
app.QueryInterface(Ci.nsIHandlerApp); app.QueryInterface(Ci.nsIHandlerApp);
var item = list.appendItem(app.name); var item = list.appendItem(app.name);
item.setAttribute("image", gApplicationsPane._getIconURLForHandlerApp(app)); item.setAttribute("image", gApplicationsPane._getIconURLForHandlerApp(app));