Bug 529074: Remove use of <preferences> and <preference> from <setting> (parts I missed)

This commit is contained in:
Mark Finkle 2009-11-23 08:25:11 -05:00
parent caf3dadd0c
commit 48a4609002

View File

@ -58,7 +58,7 @@
</binding>
<binding id="setting-base">
<implementation implements="nsIObserver">
<implementation>
<constructor><![CDATA[
this.preferenceChanged();
@ -160,6 +160,8 @@
<property name="value" onget="return this.input.value;" onset="return this.input.value = val;"/>
<field name="_prefs">
this.settings ?
this.settings.prefs :
Components.classes["@mozilla.org/preferences-service;1"]
.getService(Components.interfaces.nsIPrefBranch2);
</field>