The style sheets for displaying message headers are now being copied into /res/mailnews/messenger.

This commit is contained in:
mscott%netscape.com 1999-04-06 22:22:15 +00:00
parent 24d2b41a6c
commit 93e5d9d733
2 changed files with 6 additions and 6 deletions

View File

@ -125,9 +125,9 @@ include <$(DEPTH)/config/rules.mak>
install:: $(DLL)
$(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).dll $(DIST)\bin\components
$(MAKE_INSTALL) .\$(CSS1) $(DIST)\bin\res
$(MAKE_INSTALL) .\$(CSS2) $(DIST)\bin\res
$(MAKE_INSTALL) .\$(CSS3) $(DIST)\bin\res
$(MAKE_INSTALL) .\$(CSS1) $(DIST)\bin\res\mailnews\messenger
$(MAKE_INSTALL) .\$(CSS2) $(DIST)\bin\res\mailnews\messenger
$(MAKE_INSTALL) .\$(CSS3) $(DIST)\bin\res\mailnews\messenger
clobber::
rm -f $(DIST)\bin\$(DLLNAME).dll

View File

@ -170,11 +170,11 @@ nsMimeEmitter::WriteXMLHeader(const char *msgID)
UtilityWrite("<?xml version=\"1.0\"?>");
if (mHeaderDisplayType == MicroHeaders)
UtilityWrite("<?xml-stylesheet href=\"resource:/res/mailheader-micro.css\" type=\"text/css\"?>");
UtilityWrite("<?xml-stylesheet href=\"resource:/res/mailnews/messenger/mailheader-micro.css\" type=\"text/css\"?>");
else if (mHeaderDisplayType == NormalHeaders)
UtilityWrite("<?xml-stylesheet href=\"resource:/res/mailheader-normal.css\" type=\"text/css\"?>");
UtilityWrite("<?xml-stylesheet href=\"resource:/res/mailnews/messenger/mailheader-normal.css\" type=\"text/css\"?>");
else /* AllHeaders */
UtilityWrite("<?xml-stylesheet href=\"resource:/res/mailheader-all.css\" type=\"text/css\"?>");
UtilityWrite("<?xml-stylesheet href=\"resource:/res/mailnews/messenger/mailheader-all.css\" type=\"text/css\"?>");
UtilityWrite("<message id=\"");
UtilityWrite(msgID);