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)
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.
Reporter | ||
Updated•17 years ago
|
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Updated•8 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•