Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

can "nsPref:changed" be raised via code?

12 views
Skip to first unread message

Boris Capitanu

unread,
Jun 24, 2009, 1:35:14 PM6/24/09
to
Hi,

I'm finding a need to have to force the invocation of all the
preference observers observing a particular preference. Is it possible
to raise the "nsPref:changed" event via code (which should behave
exactly like when the observed preference actually gets changed) but
without having to change the preference value?

Thanks in advance.

Boris

Benjamin Smedberg

unread,
Jun 24, 2009, 2:10:18 PM6/24/09
to

This newsgroup is about documentation requests... please use
mozilla.dev.extensions for this sort of question (setting followup-to).

I don't believe there is a way to send preference notifications when a pref
hasn't changed, and you really haven't done a good job explaining why you'd
want to!

--BDS

0 new messages