Bug 428996 - Expose less of the messenger chrome package to content, r+sr=neil

This commit is contained in:
philringnalda%gmail.com 2008-04-21 02:25:48 +00:00
Родитель f8659f6652
Коммит 27fef32093
4 изменённых файлов: 8 добавлений и 5 удалений

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

@ -1,5 +1,7 @@
messenger.jar:
% content messenger %content/messenger/ xpcnativewrappers=yes contentaccessible=yes
% content messagebody %content/messagebody/ contentaccessible=yes
% content messenger %content/messenger/ xpcnativewrappers=yes
% override chrome://messagebody/skin/messageBody.css chrome://messenger/skin/messageBody.css
* content/messenger/mailWindow.js (content/mailWindow.js)
* content/messenger/mailWindowOverlay.js (content/mailWindowOverlay.js)
* content/messenger/mailWindowOverlay.xul (content/mailWindowOverlay.xul)

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

@ -1,6 +1,8 @@
#ifdef MOZ_SUITE
messenger.jar:
% content messenger %content/messenger/ xpcnativewrappers=yes contentaccessible=yes
% content messagebody %content/messagebody/ contentaccessible=yes
% content messenger %content/messenger/ xpcnativewrappers=yes
% override chrome://messagebody/skin/messageBody.css chrome://messenger/skin/messageBody.css
% content messenger-region %content/messenger-region/
% overlay chrome://communicator/content/pref/preftree.xul chrome://messenger/content/mailPrefsOverlay.xul
% overlay chrome://communicator/content/pref/preferences.xul chrome://messenger/content/mailPrefsOverlay.xul

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

@ -369,9 +369,8 @@ nsMimeHtmlDisplayEmitter::EndHeader()
}
}
// mscott --> we should refer to the style sheet used in msg display...this one is wrong i think.
// Stylesheet info!
UtilityWriteCRLF("<link rel=\"important stylesheet\" href=\"chrome://messenger/skin/messageBody.css\">");
UtilityWriteCRLF("<link rel=\"important stylesheet\" href=\"chrome://messagebody/skin/messageBody.css\">");
UtilityWriteCRLF("</head>");
UtilityWriteCRLF("<body>");

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

@ -92,7 +92,7 @@ nsMimeXmlEmitter::WriteXMLHeader(const char *msgID)
UtilityWrite("<?xml version=\"1.0\"?>");
UtilityWriteCRLF("<?xml-stylesheet href=\"chrome://messenger/skin/messageBody.css\" type=\"text/css\"?>");
UtilityWriteCRLF("<?xml-stylesheet href=\"chrome://messagebody/skin/messageBody.css\" type=\"text/css\"?>");
UtilityWrite("<message id=\"");
UtilityWrite(newValue);