Ev Haus
Ev Haus

Reputation: 1654

How to create a ui button for SeaMonkey

I'm trying to get my extension (using Firefox Addon SDK 1.17) to work on SeaMonkey (2.30). After modifying install.rdf to allow my extension to be installed, I can see SeaMonkey accepted the extension. However -- my extension's button isn't visible anywhere in the UI. I am using sdk/ui/button/toggle. I have also tried require("sdk/ui").ActionButton but that doesn't seem to do anything either.

What do I need to do to make sure my extension can render a button into SeaMonkey's toolbar?

Upvotes: 2

Views: 336

Answers (2)

erikvold
erikvold

Reputation: 16558

There are a couple of options:

  1. patch the sdk to allow support on seamonkey.
  2. copy the button code from the sdk into your add-on, mark it as supporting seamonkey, and use that, possibly uploading the code to npm as a third party module.

Upvotes: 0

Ev Haus
Ev Haus

Reputation: 1654

Looks like the answer is that SeaMonkey does not officially support the Addon SDK yet. Support is planned for SeaMonkey 2.33

Upvotes: 1

Related Questions