Philip Chee wrote:
> On Sat, 15 Sep 2007 22:18:39 +0200, Michael Vincent van Rantwijk,
> MultiZilla wrote:
> 
>>> i want to let user choose if he/she needs status bar icon or not, is there
>>> any special method to do that or not ?
> 
>> You can use: "browser.toolbars.showbutton.mybuttonid" for which 
>> SeaMonkey has a pref observer setup, which works for me (when I use a 
>> button ID like: mybuttonid-tbbutton).
> 
> First this is suite specific. I don't think Firefox/Flock/IceWeasel/NN 9
> have this.

Right, but we use our own pref listener for years already.

> Secondly it's "mybuttonid-button" without the "tb" whatever that is.

For the build-in observer, yes, but we use this and it is short for ToolBar.

> Thirdly how many suite extensions are using this feature? The reason I
> ask is that I was thinking of removing this feature as part of my
> customizable toolbars patch for the suite (since with customizable
> toolbar buttons this functionality is mostly redundant). But if there
> are more than a few extensions using this I'll leave the
> gButtonPrefListener functionality in.

When will that patch be ready?

p.s. remember me writing to be ready in time ;)

-- 
Michael Vincent van Rantwijk
- MultiZilla Project Team Lead
- XUL Boot Camp Staff member (ActiveState Training Partner)
- iPhone Application Developer

_______________________________________________
Project_owners mailing list
Project_owners@mozdev.org
http://mozdev.org/mailman/listinfo/project_owners

Reply via email to