[Project_owners] Re: (Components.interfaces.nsIPrefService).getBoolPref is not a function in sidebar

Philip Chee philip.chee at gmail.com
Wed Jan 4 03:51:49 EST 2006

On Tue, 03 Jan 2006 16:55:27 +0000, Neil wrote:

>>This was checked in just over a year ago. Don't tell me nobody noticed
>>something was wrong with the contextmenu? The aviary version did not have
this change.

> For the interest of anyone following this thread, the fix was checked in 
> and approved for SeaMonkey 1.0 but the reason the bug was not noticed is 
> that all the main XUL windows cache a copy of the preference service so 
> that when the context menu tries to retrieve it it actually accesses the 
> cached copy which already has the nsIPrefBranch interface.

So how can I do the same and cache a copy of the preference service for my

Philip Chee <philip at aleytys.pc.my>, <philip.chee at gmail.com>
Guard us from the she-wolf and the wolf, and guard us from the thief,
oh Night, and so be good for us to pass.
[ ]I haven't lost my mind; it's backed up on tape somewhere!
* TagZilla 0.059

More information about the Project_owners mailing list