The SHOUTcast addon implements this functionality. Check out the
following pieces of that addon:
- in install.rdf, the em:optionsURL element
- in chrome/content the file prefPane.xul (loaded from radioPrefs.js)
- in chrome/content the prefsOverlay.xul file (and it's entry in the
chrome.manifest -- overlays the preferences.xul file)
Amongst those three you should be able to get the behaviors you are
On May 29, 5:07 pm, sacha <sacha-goo...@ssl.co.uk> wrote:
> I've been implementing an extension, largely by looking at the code
> and examples in a Songbird source checkout and using the API
> documentation. I'm at the point where I'd like to implement a
> preferences pane for the add-on, so the user can tweak its behaviour.
> Looking at the Songbird UI, I guess this would be invoked from the
> 'Preferences' button that appears on my add-on's entry in the menu
> Songbird / Preferences / Add-Ons.
> Am I on the right track? Could anyone point me at an example? I
> downloaded a couple of add-ons that I thought would implement this
> kind of thing, but their Preferences button is inactive.