bug 85747, There is no difference between "OK" and "Cancel" when change Preferences | Fonts language,

r=matt, sr=blizzard
This commit is contained in:
loadrunner%betak.net 2001-08-10 01:49:39 +00:00
Родитель c22afff331
Коммит cb3c3c6ddb
3 изменённых файлов: 11 добавлений и 3 удалений

Просмотреть файл

@ -386,8 +386,9 @@ pref("intl.charsetmenu.browser.cache", "");
pref("intl.charsetmenu.mailview.cache", "");
pref("intl.charsetmenu.composer.cache", "");
pref("intl.charsetmenu.browser.cache.size", 5);
pref("intl.charset.detector", "chrome://navigator/locale/navigator.properties");
pref("intl.charset.detector", "chrome://navigator/locale/navigator.properties");
pref("intl.charset.default", "chrome://navigator/locale/navigator.properties");
pref("font.language.group", "chrome://navigator/locale/navigator.properties");
// -- folders (Mac: these are binary aliases.)
localDefPref("mail.signature_file", "");

Просмотреть файл

@ -43,7 +43,7 @@ var gPrefutilitiesBundle;
// manual data retrieval function for PrefWindow
function GetFields()
{
var dataObject = [];
var dataObject = parent.hPrefWindow.wsm.dataManager.pageData["chrome://communicator/content/pref/pref-fonts.xul"];
// store data for language independent widgets
var lists = ["selectLangs", "proportionalFont"];

Просмотреть файл

@ -35,6 +35,11 @@
src="chrome://communicator/locale/pref/prefutilities.properties"/>
<script type="application/x-javascript"
src="chrome://communicator/content/pref/pref-fonts.js"/>
<script type="application/x-javascript">
<![CDATA[
var _elementIDs = ["selectLangs"];
]]>
</script>
<hbox class="box-smallheader" title="&lHeader;"/>
@ -44,7 +49,9 @@
value="&language.label;"
accesskey="&language.accesskey;"
for="selectLangs"/>
<menulist id="selectLangs" class="small-margin" oncommand="selectLanguage();" persist="value">
<menulist id="selectLangs" class="small-margin" oncommand="selectLanguage();"
pref="true" preftype="localizedstring" prefstring="font.language.group"
prefattribute="value" wsm_attributes="value">
<menupopup>
<menuitem value="x-western" label="&font.langGroup.latin1;"/>
<menuitem value="x-central-euro" label="&font.langGroup.latin2;"/>