Closed
Bug 470210
Opened 16 years ago
Closed 16 years ago
getAddonsController and getPreferencesController should support Thunderbird as well
Categories
(Testing Graveyard :: Mozmill, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: gkw, Unassigned)
Details
(Whiteboard: [mozmill-1.1])
getAddonsController and getPreferencesController should work in Thunderbird too, instead of Thunderbird having to write their own functions for it.
| Reporter | ||
Comment 1•16 years ago
|
||
Thunderbird calls openAddonsMgr() to get to the addons manager, while Firefox calls BrowserOpenAddonsMgr(). For preferences TB calls openOptionsDialog I think, though I could be wrong about this one.
Should this be solved by forking TB's version of getTBAddonsController() (which calls openAddonsMgr()) or by adding some form of app detection into getAddonsController() ?
See approximately
http://mxr.mozilla.org/comm-central/source/mail/base/content/mailCore.js#199
Comment 2•16 years ago
|
||
Can someone point me at some code that can do app detection?
We should just have conditionals to support this via app detection in mozmill.js
Comment 3•16 years ago
|
||
Regarding Comment #2:
especially, because Sunbird uses goOpenAddons() to open the addons manager, and SeaMonkey toEM()
Comment 4•16 years ago
|
||
I added sunbird and thunderbird support for getAddonsController but I need to know the functions it uses for pulling up the preferences window if I'm going to add support for the same.
Comment 5•16 years ago
|
||
Sunbird seems to use openPreferences()
http://mxr.mozilla.org/comm-central/source/calendar/resources/content/calendar.js#172
Thunderbird uses openOptionsDialog()
http://mxr.mozilla.org/comm-central/source/mail/base/content/mailCore.js#199 (no params necessary)
Nice and consistent aren't we :-/
Comment 6•16 years ago
|
||
Fixed in r369.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
| Assignee | ||
Updated•9 years ago
|
Product: Testing → Testing Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•