mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
Land the new Thunderbird start page courtesty of David Tenser.
More packaging changes including the addition of the icon decoder for windows Merge several trunk bug fixes over.
This commit is contained in:
parent
d1f638b36f
commit
bfc26c7a9f
@ -226,6 +226,7 @@ function ChangeFolderByURI(uri, viewType, viewFlags, sortType, sortOrder)
|
||||
gRerootOnFolderLoad = true;
|
||||
try
|
||||
{
|
||||
ClearThreadPane();
|
||||
SetBusyCursor(window, true);
|
||||
msgfolder.startFolderLoading();
|
||||
msgfolder.updateFolder(msgWindow);
|
||||
|
@ -35,6 +35,11 @@ toolkit.jar:
|
||||
|
||||
|
||||
en-US.jar:
|
||||
+ locale/en-US/messenger/start.html (locale/start.html)
|
||||
locale/en-US/messenger/bird.png (locale/bird.png)
|
||||
locale/en-US/messenger/h1.png (locale/h1.png)
|
||||
locale/en-US/messenger/h2.png (locale/h2.png)
|
||||
locale/en-US/messenger/back.png (locale/back.png)
|
||||
+ locale/en-US/messenger/messenger.dtd (locale/messenger.dtd)
|
||||
+ locale/en-US/messenger/mailTasksOverlay.dtd (locale/mailTasksOverlay.dtd)
|
||||
+ locale/en-US/messenger/msgAccountCentral.dtd (locale/msgAccountCentral.dtd)
|
||||
|
BIN
mail/base/locale/back.png
Normal file
BIN
mail/base/locale/back.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.2 KiB |
BIN
mail/base/locale/bird.png
Normal file
BIN
mail/base/locale/bird.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 29 KiB |
BIN
mail/base/locale/h1.png
Normal file
BIN
mail/base/locale/h1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1023 B |
BIN
mail/base/locale/h2.png
Normal file
BIN
mail/base/locale/h2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.0 KiB |
@ -1,7 +1,7 @@
|
||||
#
|
||||
# messenger.properties
|
||||
# mailnews.js
|
||||
mailnews.start_page.url=http://www.mozilla.org/projects/thunderbird/
|
||||
mailnews.start_page.url=chrome://messenger/locale/start.html
|
||||
mailnews.release_notes.url=http://www.mozilla.org/projects/thunderbird/
|
||||
mailnews.hints_and_tips.url=http://texturizer.net/thunderbird/
|
||||
messenger.throbber.url=http://www.mozilla.org/projects/thunderbird/
|
||||
|
102
mail/base/locale/start.html
Normal file
102
mail/base/locale/start.html
Normal file
@ -0,0 +1,102 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
|
||||
<head>
|
||||
|
||||
<!--
|
||||
** Thunderbird Mail Start Page
|
||||
**
|
||||
** Contributor(s):
|
||||
** David Tenser <david.tenser@telia.com>
|
||||
-->
|
||||
|
||||
<title>Welcome to Thunderbird™ Mail!</title>
|
||||
|
||||
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
|
||||
<meta http-equiv="content-style-type" content="text/css" />
|
||||
<meta content="David Tenser" name="author" />
|
||||
|
||||
<style type="text/css" media="screen,projection">
|
||||
body {
|
||||
font-family: Tahoma, Verdana, sans, sans-serif;
|
||||
margin: 0px;
|
||||
background: url(back.png) repeat-y top right white;
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: white;
|
||||
background: url(h1.png) repeat-y #91a0b7;
|
||||
border-bottom: 1px solid #c9d1dd;
|
||||
font-weight: normal;
|
||||
padding: 0.3ex 0.3ex 0.3ex 25px;
|
||||
margin: 0px;
|
||||
font-size: 160%;
|
||||
}
|
||||
|
||||
h2 {
|
||||
color: black;
|
||||
background: url(h2.png) repeat-y bottom left;
|
||||
width: 30ex;
|
||||
font-size: 100%;
|
||||
padding: 2px 0px 2px 10px;
|
||||
border-left: 4px solid #dde;
|
||||
border-bottom: 1px solid #dde;
|
||||
|
||||
}
|
||||
|
||||
#indent {
|
||||
margin-left: 25px;
|
||||
margin-right: 25px;
|
||||
background: url(bird.png) no-repeat top right;
|
||||
min-height: 320px;
|
||||
}
|
||||
|
||||
a:link, a:visited {
|
||||
background: transparent;
|
||||
text-decoration: none;
|
||||
color: #009;
|
||||
}
|
||||
|
||||
a:active, a:hover {
|
||||
background: #f4f4ff;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
#gecko {
|
||||
font-size: 80%;
|
||||
color: #999;
|
||||
background: transparent;
|
||||
bottom: 2px;
|
||||
border-top: 1px solid #ddd;
|
||||
width: 28ex;
|
||||
}
|
||||
|
||||
#gecko a:link, #gecko a:visited {
|
||||
color: #999;
|
||||
background: inherit;
|
||||
}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1>Welcome to Thunderbird™ Mail!</h1>
|
||||
<div id="indent">
|
||||
<p>Thunderbird™ Mail is a powerful open-source mail and news client supporting advanced junk mail detection and other useful features.</p>
|
||||
<h2>Features</h2>
|
||||
<ul>
|
||||
<li>E-mail and Newsgroups</li>
|
||||
<li>Support for multiple accounts</li>
|
||||
<li>Junk Mail detection</li>
|
||||
<li>Message Filters</li>
|
||||
<li>HTML message support</li>
|
||||
<li>Address Book</li>
|
||||
</ul>
|
||||
<h2>More Information</h2>
|
||||
<p>For frequently asked questions, tips and general help visit <a href="http://texturizer.net/thunderbird/">Thunderbird™ Help</a>.</p>
|
||||
<p>For Thunderbird™ Mail development information, visit the <a href="http://www.mozilla.org/projects/thunderbird/">Thunderbird™ Mail Project Page</a>.
|
||||
<div id="gecko"><a href="http://www.mozilla.org/">Powered by Gecko.</a></div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -2146,6 +2146,20 @@ function AddAttachment(attachment)
|
||||
|
||||
if (!attachment.name)
|
||||
attachment.name = gMsgCompose.AttachmentPrettyName(attachment.url);
|
||||
|
||||
// for security reasons, don't allow *-message:// uris to leak out
|
||||
// we don't want to reveal the .slt path (for mailbox://), or the username or hostname
|
||||
var messagePrefix = /^mailbox-message:|^imap-message:|^news-message:/i;
|
||||
if (messagePrefix.test(attachment.name))
|
||||
attachment.name = sComposeMsgsBundle.getString("messageAttachmentSafeName");
|
||||
else {
|
||||
// for security reasons, don't allow mail protocol uris to leak out
|
||||
// we don't want to reveal the .slt path (for mailbox://), or the username or hostname
|
||||
var mailProtocol = /^mailbox:|^imap:|^s?news:/i;
|
||||
if (mailProtocol.test(attachment.name))
|
||||
attachment.name = sComposeMsgsBundle.getString("partAttachmentSafeName");
|
||||
}
|
||||
|
||||
item.setAttribute("label", attachment.name); //use for display only
|
||||
item.attachment = attachment; //full attachment object stored here
|
||||
try {
|
||||
|
@ -147,6 +147,9 @@ components\xuldoc.xpt
|
||||
; Imaging:
|
||||
mozz.dll
|
||||
components\imglib2.dll
|
||||
components\imgicon.dll
|
||||
components\imgicon.xpt
|
||||
compontents\imglib2.xpt
|
||||
|
||||
; accessibility (out of process API support)
|
||||
components\accessibility.dll
|
||||
|
Loading…
Reference in New Issue
Block a user