[Project_owners] Reset user preferences to default?

David Duong david.nqd at gmail.com
Sat Feb 11 13:26:22 EST 2006

@David Murry Unfortunately resetBranch does the same thing.. nothing because
it doesn't seem to be implemented.

@Brian The extension does ship with a default preference file and I'm trying
to reset the preferences to it's initial settings.  Delete removes the
branch so that get*Pref returns nothing.  Reset should reset the branch so
that get*Pref returns whatever the default value was.

@GuruJ Thanks for the code, I'll try it out later


On 2/11/06, Brian King <brian at mozdev.org> wrote:
> David Duong wrote:
> > Thanks, but that just nukes it (as expected).  After the call the branch
> > will no longer exist.
> I though that was the idea. What's the difference between this and
> resetting prefs? Does your extension ship with a default preferences file?
> - Brian
> _______________________________________________
> Project_owners mailing list
> Project_owners at mozdev.org
> http://mozdev.org/mailman/listinfo/project_owners
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mozdev.org/pipermail/project_owners/attachments/20060211/5348a308/attachment.htm

More information about the Project_owners mailing list