hook up the language encoding menus to the fonts panel
git-svn-id: svn://10.0.0.236/trunk@170403 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -72,7 +72,19 @@ var gDisplayPane = {
|
||||
|
||||
fontOptionsDialog: function()
|
||||
{
|
||||
document.documentElement.openSubDialog("chrome://messenger/content/preferences/fonts.xul",
|
||||
"", null);
|
||||
document.documentElement.openSubDialog("chrome://messenger/content/preferences/fonts.xul", "", null);
|
||||
},
|
||||
|
||||
mCharsetMenuInitialized: false,
|
||||
readDefaultCharset: function()
|
||||
{
|
||||
if (!this.mCharsetMenuInitialized)
|
||||
{
|
||||
var os = Components.classes["@mozilla.org/observer-service;1"].getService(Components.interfaces.nsIObserverService);
|
||||
os.notifyObservers(null, "charsetmenu-selected", "mailedit");
|
||||
this.mCharsetMenuInitialized = true;
|
||||
}
|
||||
return undefined;
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
@@ -226,9 +226,9 @@
|
||||
<rows>
|
||||
<row align="center" class="indent">
|
||||
<label control="sendDefaultCharsetList"
|
||||
value="&sendDefaultCharset.label;" accesskey="&sendDefaultCharset.accesskey;" page="sendDefaultCharsetList"/>
|
||||
value="&sendDefaultCharset.label;" accesskey="&sendDefaultCharset.accesskey;"/>
|
||||
<menulist id="sendDefaultCharsetList" ref="NC:MaileditCharsetMenuRoot" datasources="rdf:charset-menu"
|
||||
preference="mailnews.send_default_charset">
|
||||
preference="mailnews.send_default_charset" onpreferenceread="return gDisplayPane.readDefaultCharset();">
|
||||
<template>
|
||||
<menupopup>
|
||||
<menuitem label="rdf:http://home.netscape.com/NC-rdf#Name" value="..." uri="..."/>
|
||||
|
||||
Reference in New Issue
Block a user