Closed Bug 404546 Opened 17 years ago Closed 17 years ago

No easy way to get a default protocol handler's icon

Categories

(Core Graveyard :: File Handling, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 404434

People

(Reporter: mfinkle, Unassigned)

References

(Blocks 1 open bug)

Details

nsIHandlerInfo has support for checking for a default handler and getting the default handler's name, but you cannot get the icon of the default handler.

This should be an easy fix once we decide the interface changes required. nsIHandlerInfo / nsIMimeInfo *do* internally get the actual path to the default handler, so we could easily make a "defaultHandlerIcon" property that holds a "moz-icon://" URI to the application. The user of the property could append the "?size=16" or "?size=32" depending on the given need.
No longer blocks: 393122
Blocks: 393122
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.