[Project_owners] Hide statusbar icon

Nickolay Ponomarev asqueella at gmail.com
Sat Sep 15 10:52:53 PDT 2007


On 9/15/07, joe ertaba <belaviyo at gmail.com> wrote:
> hi
>
> 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 ?
>
AFAIK no, just have a preference (which can be changed by the user in
your prefwindow) and install a pref observer (via nsIPrefBranch2) in
each browser window that sets your statusbarpanel's "hidden" property
depending on the pref. And don't forget to also show/hide the
statusbarpanel on startup.

Nickolay


More information about the Project_owners mailing list