Bug 451143 - make AB's print.css contentaccessible, so printing from an addbook:// URI can access it, r=standard8, sr=neil

This commit is contained in:
Phil Ringnalda 2008-09-24 09:04:21 -07:00
Родитель c772b39da6
Коммит a61431fb9b
4 изменённых файлов: 4 добавлений и 4 удалений

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

@ -24,4 +24,4 @@ messenger.jar:
content/messenger/addressbook/abResultsPane.js (/mailnews/addrbook/resources/content/abResultsPane.js)
content/messenger/addressbook/abDragDrop.js (/mailnews/addrbook/resources/content/abDragDrop.js)
content/messenger/addressbook/abMailListDialog.js (/mailnews/addrbook/resources/content/abMailListDialog.js)
content/messenger/addressbook/print.css (/mailnews/addrbook/resources/content/print.css)
content/messagebody/addressbook/print.css (/mailnews/addrbook/resources/content/print.css)

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

@ -690,7 +690,7 @@ nsresult nsAbCardProperty::ConvertToBase64EncodedXML(nsACString &result)
nsString xmlStr;
xmlStr.AppendLiteral("<?xml version=\"1.0\"?>\n"
"<?xml-stylesheet type=\"text/css\" href=\"chrome://messenger/content/addressbook/print.css\"?>\n"
"<?xml-stylesheet type=\"text/css\" href=\"chrome://messagebody/content/addressbook/print.css\"?>\n"
"<directory>\n");
// Get Address Book string and set it as title of XML document

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

@ -260,7 +260,7 @@ nsAddbookProtocolHandler::BuildDirectoryXML(nsIAbDirectory *aDirectory,
nsCOMPtr<nsIAbCard> card;
aOutput.AppendLiteral("<?xml version=\"1.0\"?>\n"
"<?xml-stylesheet type=\"text/css\" href=\"chrome://messenger/content/addressbook/print.css\"?>\n"
"<?xml-stylesheet type=\"text/css\" href=\"chrome://messagebody/content/addressbook/print.css\"?>\n"
"<directory>\n");
// Get Address Book string and set it as title of XML document

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

@ -48,7 +48,7 @@ messenger.jar:
content/messenger/addressbook/abEditListDialog.xul (addrbook/resources/content/abEditListDialog.xul)
content/messenger/addressbook/addressbook-panel.xul (addrbook/resources/content/addressbook-panel.xul)
content/messenger/addressbook/addressbook-panel.js (addrbook/resources/content/addressbook-panel.js)
content/messenger/addressbook/print.css (addrbook/resources/content/print.css)
content/messagebody/addressbook/print.css (addrbook/resources/content/print.css)
* content/messenger/AccountManager.xul (base/prefs/resources/content/AccountManager.xul)
content/messenger/AccountManager.js (base/prefs/resources/content/AccountManager.js)
content/messenger/am-main.xul (base/prefs/resources/content/am-main.xul)