Closed Bug 411479 Opened 17 years ago Closed 17 years ago

Use same install method for themes and extensions dropped into manager

Categories

(Toolkit :: Add-ons Manager, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla1.9beta3

People

(Reporter: mossop, Assigned: mossop)

Details

Attachments

(1 file)

We currently use InstallTrigger.install for extensions and InstallTrigger.installChrome for themes. Doing this seems to be the cause of bug 257992 which we have wallpapered over. There is no real difference between the two methods since we unified the UI in bug 349603.
Attached patch patch rev 1Splinter Review
This just stuffs all the files into the one array. Adds icon discrimination between the types.
Attachment #296357 - Flags: review?(robert.bugzilla)
Whiteboard: [has patch]
Status: NEW → ASSIGNED
Comment on attachment 296357 [details] [diff] [review]
patch rev 1

Thanks
Attachment #296357 - Flags: review?(robert.bugzilla) → review+
Comment on attachment 296357 [details] [diff] [review]
patch rev 1

Seeking approval, this is a simple fix that makes us behave more sanely in the event that the user drops multiple themes into the UI to be installed.
Attachment #296357 - Flags: approval1.9?
Comment on attachment 296357 [details] [diff] [review]
patch rev 1

Dave - you have other blocker bugs you can help with?
Attachment #296357 - Flags: approval1.9? → approval1.9+
Checking in toolkit/mozapps/extensions/content/extensions.js;
/cvsroot/mozilla/toolkit/mozapps/extensions/content/extensions.js,v  <--  extensions.js
new revision: 1.154; previous revision: 1.153
done
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Whiteboard: [has patch]
Target Milestone: --- → Firefox 3 M11
Product: Firefox → Toolkit
Blocks: 558738
No longer blocks: 558738
Fixed a long time ago. Marking as verified.

Dave, I can still see a lot of references to installChrome on MXR for mozilla-central. Are those valid cases?

http://mxr.mozilla.org/mozilla-central/search?string=installChrome
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: