How do I add icons next to search bar?

41 views
Skip to first unread message

Navaneeth.K.N

unread,
May 5, 2013, 10:23:25 PM5/5/13
to mozilla-la...@googlegroups.com
Hello,

I need to add an icon for my addon next to the FF search bar.
Something like,
http://img585.imageshack.us/img585/7253/screenshot20130506at745.png. I
don't see a way to do this using addon-sdk. It only allows to add to
addon bar.

I am wondering how will I achieve this. Any help would be great.

--
Thanks
Navaneeth

Paul Morris

unread,
May 5, 2013, 10:53:44 PM5/5/13
to mozilla-la...@googlegroups.com
On May 5, 2013, at 10:23 PM, Navaneeth.K.N <navan...@gmail.com> wrote:

> I need to add an icon for my addon next to the FF search bar.

Hi Navaneeth, At the moment you can't do this with the addon-sdk, but this module by Erik Vold should let you do it:
https://github.com/erikvold/toolbarbutton-jplib

As I understand it, once the new "australis" UI theme[1] arrives in Firefox, then this will be possible with the addon-sdk directly. (I've just been holding out until then myself.)

Cheers,
-Paul

[1] https://wiki.mozilla.org/Firefox/Features/Theme_Refinement_and_Evolution_%28Australis%29

Navaneeth KN

unread,
May 9, 2013, 5:09:07 AM5/9/13
to mozilla-la...@googlegroups.com
Hello,


On Monday, 6 May 2013 08:23:44 UTC+5:30, Paul Morris wrote:
On May 5, 2013, at 10:23 PM, Navaneeth.K.N <navan...@gmail.com> wrote:

> I need to add an icon for my addon next to the FF search bar.

Hi Navaneeth,  At the moment you can't do this with the addon-sdk, but this module by Erik Vold should let you do it:
https://github.com/erikvold/toolbarbutton-jplib

Thanks. This looks promising. How do I add it to my addon-sdk project?

Paul Morris

unread,
May 12, 2013, 10:34:51 PM5/12/13
to mozilla-la...@googlegroups.com
On May 9, 2013, at 5:09 AM, Navaneeth KN <navan...@gmail.com> wrote:

Hi Navaneeth,  At the moment you can't do this with the addon-sdk, but this module by Erik Vold should let you do it:
https://github.com/erikvold/toolbarbutton-jplib

Thanks. This looks promising. How do I add it to my addon-sdk project?


Reply all
Reply to author
Forward
0 new messages