Make the SeaMonkey spellcheck dialog get the more dictionaries URL from a localised preference rather than a localised RDF file b=339145 r=glazou,KaiRo sr=jag

This commit is contained in:
neil%parkwaycc.co.uk 2006-07-30 10:15:32 +00:00
parent 133dd4fc4f
commit 4db941397c
3 changed files with 4 additions and 1 deletions

View File

@ -66,6 +66,7 @@ pref("editor.table.maintain_structure", true);
pref("editor.prettyprint", true);
pref("editor.throbber.url","chrome://editor-region/locale/region.properties");
pref("editor.spellcheckers.url","chrome://editor-region/locale/region.properties");
pref("editor.toolbars.showbutton.new", true);
pref("editor.toolbars.showbutton.open", true);

View File

@ -455,7 +455,8 @@ function SelectLanguage()
gLastSelectedLang = item;
}
else {
window.opener.openDialog( getBrowserURL(), "_blank", "chrome,all,dialog=no", xlateURL('urn:clienturl:composer:spellcheckers'));
opener.open(GetPrefs().getComplexValue("editor.spellcheckers.url",
Components.interfaces.nsIPrefLocalizedString).data);
if (gLastSelectedLang)
gDialog.LanguageMenulist.selectedItem = gLastSelectedLang;
}

View File

@ -2,3 +2,4 @@
# editor.js
# editor.properties
editor.throbber.url=http://www.mozilla.org/projects/seamonkey/
editor.spellcheckers.url=http://dictionaries.mozdev.org/installation.html