David Duong wrote:
@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

I wonder if you've tried prefBranch.resetUserPrefs();
Did you?

/HJ
_______________________________________________
Project_owners mailing list
[email protected]
http://mozdev.org/mailman/listinfo/project_owners

Reply via email to