[Project_owners] Re: Toolbar button for Mozilla/SeaMonkey

Michael Vincent mv_van_rantwijk at yahoo.com
Sun Aug 28 17:08:47 EDT 2005


Philip Chee wrote:
> On Sun, 28 Aug 2005 02:34:12 +0200, Michael Vincent wrote:
>> Neil wrote:
>>> Philip Chee wrote:
> 
>>>> I guess I'll have to hard code a button somewhere (menubar? navbar? 
>>>> statusbar?). What's the recommended way of doing it?
> 
>>> It depends on the size of your image, put it on the nav-bar if you have 
>>> a large image and on the PersonalToolbar if you have a small image.
> 
>> But he can also use two sizes, one for the navigation and one for the 
>> personal toolbar (and/or the status bar).
> 
>> p.s. note that the button id should and with "-button" i.e. 
>> "yourid-button" so that the pref 
>> "browser.toolbars.showbutton.go.yourid-button" can be used to show/hide 
>> your button.
> 
> Does this work with all (recent) versions of mozilla as well as seamonkey?

Yes, at least if you take out the ".go" part which I accidentally 
included (I used copied the pref for the go button).

> Does this apply only to the nav-bar or to all toolbars in the toolbox?

Yes, all toolbars.

Cheers,
Michael


More information about the Project_owners mailing list