Bug #132401 mailnews portion of the ALERT_SERVICE_BRANCH landing.

Add a check box in the mailnews prefs panel for turning off animated alerts.

r=bhuvan
sr=bienvenu
a=asa
This commit is contained in:
mscott%netscape.com 2002-03-22 23:25:49 +00:00
Родитель c08c3b95e1
Коммит 3b5e104a3d
2 изменённых файлов: 17 добавлений и 3 удалений

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

@ -36,7 +36,7 @@ Contributor(s):
<![CDATA[
var _elementIDs = ["mailPaneConfig", "mailnewsConfirmMoveFoldersToTrash",
"mailnewsStartPageEnabled", "mailnewsStartPageUrl",
"newMailNotification", "mailWarnOnSendAccelKey" ];
"newMailNotification", "newMailNotificationAlert", "mailWarnOnSendAccelKey" ];
]]>
</script>
<script type="application/x-javascript" src="chrome://messenger/content/pref-mailnews.js"/>
@ -67,13 +67,24 @@ Contributor(s):
accesskey="&warnOnSendAccelKey.accesskey;" />
</hbox>
<separator class="thin"/>
<hbox align="start" id="mapi"/>
<separator class="thin"/>
<description>&newMessagesArrive.label;</description>
<hbox align="center">
<checkbox id="newMailNotification" label="&playSound.label;"
prefstring="mail.biff.play_sound"
accesskey="&playSound.accesskey;" />
</hbox>
<hbox align="start" id="mapi"/>
<hbox align="center">
<checkbox id="newMailNotificationAlert" label="&showAnimatedAlert.label;"
prefstring="mail.biff.show_alert"
accesskey="&showAnimatedAlert.accesskey;" />
</hbox>
</groupbox>

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

@ -25,8 +25,11 @@ Rights Reserved.
<!ENTITY chooseExp.label "Note: For this setting to take effect, you will need to exit and then restart Mail.">
<!ENTITY warnOnSendAccelKey.label "Confirm when using keyboard shortcut to send message">
<!ENTITY warnOnSendAccelKey.accesskey "o">
<!ENTITY playSound.label "Play a sound when new messages arrive">
<!ENTITY newMessagesArrive.label "When new messages arrive:">
<!ENTITY playSound.label "Play a sound">
<!ENTITY playSound.accesskey "P">
<!ENTITY showAnimatedAlert.label "Show an alert">
<!ENTITY showAnimatedAlert.accesskey "S">
<!ENTITY soundFile.label "Sound file:">
<!ENTITY defaultSound.label "Play default sound">
<!ENTITY browse.label "Browse">