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

Philip Chee philip.chee at gmail.com
Sat Dec 31 00:18:11 EST 2005

On Fri, 30 Dec 2005 17:10:08 +0900, Gerald Vogt wrote:

> nsIPrefService does not have the preference access functions like 
> getBoolPref. Only the branches do. So you need to access the interface 
> nsIPrefBranch instead.

> Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefBranch).getBoolPref

The error is coming from:

This was checked in as part of bug 7840.

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.

Should I file a new bug or reopen the old bug?

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.
[ ]The cost of feathers has risen.  Now even down is up.
* TagZilla 0.059

More information about the Project_owners mailing list