Closed Bug 234688 Opened 21 years ago Closed 21 years ago

Icons don't display in Firefox download manager

Categories

(Core :: Graphics: ImageLib, defect)

x86
OS/2
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: mkaply, Assigned: mkaply)

Details

(Keywords: fixed1.7)

Attachments

(1 file, 1 obsolete file)

Come to find out, the icon decoder is supposed to support the ability to get icons for extensions (like .zip or .exe) This makes icons in the Firefox download manager work. Patch coming.
Attached patch Fix for problem (obsolete) — Splinter Review
If we are asked to get the icon for an extension, we create a temporary file and query its icon.
Attachment #141635 - Flags: review?(grajaman)
This is fine.
Attachment #141635 - Flags: review?(grajaman)
We don't need a filename at all. Just create a file called ".exe" or ".zip"
Attachment #141635 - Attachment is obsolete: true
Attachment #146271 - Flags: review?(pedemont)
Attachment #146271 - Flags: review?(pedemont) → review+
Comment on attachment 146271 [details] [diff] [review] A little better fix sr=blizzard (platform specific), a=mkaply (OS/2 only)
Attachment #146271 - Flags: superreview+
Attachment #146271 - Flags: approval1.7+
fixed on trunk and 1.7.
Status: NEW → RESOLVED
Closed: 21 years ago
Keywords: fixed1.7
Resolution: --- → FIXED
I just checked in this bustage fix: - if (hIcon == NULLHANDLE) && (pszFileName[0] == '.')) { + if ((hIcon == NULLHANDLE) && (pszFileName[0] == '.')) {
(But only to the trunk. You should probably check that it's what you want before landing on 1.7.)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: