Closed Bug 245840 Opened 20 years ago Closed 20 years ago

uninstall button has no image when disabled

Categories

(Toolkit :: Add-ons Manager, defect)

x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED FIXED
mozilla1.7

People

(Reporter: steffen.wilberg, Assigned: steffen.wilberg)

Details

(Keywords: polish, Whiteboard: fixed-aviary1.0)

Attachments

(1 file)

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040608
Firefox/0.8.0+ (Steffen)

Open the extension manager and select the DOM inspector.
-> the uninstall button has no image.
Select another extension (which is not locked).
-> the red X image appears on the button.

Note that disabled buttons usually don't loose their images, for example the
"use theme" button in the theme manager.

This was already visible with Qute and now affects Winstripe.
This appears to be a leftover from image-less times. Because the right css rule
is a few lines up:

#uninstallButton[disabled="true"] {
  list-style-image: url("chrome://mozapps/skin/extensions/actionbuttons.png");
  -moz-image-region: rect(20px, 20px, 40px, 0px) !important;
}

Only the first file is in use now, but having different versions of the same
file is confusing, so I changed them both.
patch ready.
Flags: blocking0.9?
Comment on attachment 150240 [details] [diff] [review]
don't use the placeholder instead of the real image

The image for the disabled uninstall button is available, so let's use it.
Attachment #150240 - Flags: review?(bugs)
Target Milestone: --- → Firefox0.9
r=me, checked in. 
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Comment on attachment 150240 [details] [diff] [review]
don't use the placeholder instead of the real image

patch already checked in -> removing review request
Attachment #150240 - Flags: review?(bugs)
Flags: blocking0.9?
Whiteboard: fixed-aviary1.0
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: