Reduce mail notification bar's minimum width b=362919 r=IanN (but note that due to bug 367745 the remote image whitelist link underlining doen't currently work)

git-svn-id: svn://10.0.0.236/trunk@218837 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
neil%parkwaycc.co.uk 2007-01-24 13:25:30 +00:00
parent 6819691424
commit 6e84f9369a
2 changed files with 4 additions and 7 deletions

View File

@ -2175,7 +2175,7 @@ var gMessageNotificationBar =
var headerParser = Components.classes["@mozilla.org/messenger/headerparser;1"]
.getService(Components.interfaces.nsIMsgHeaderParser);
var emailAddress = headerParser.extractHeaderAddressMailboxes(null, aMsgHdr.author);
document.getElementById('allowRemoteContentForAuthorDesc').value =
document.getElementById('allowRemoteContentForAuthorDesc').textContent =
gMessengerBundle.getFormattedString('alwaysLoadRemoteContentForSender', [emailAddress ? emailAddress : aMsgHdr.author]);
this.updateMsgNotificationBar(kMsgNotificationRemoteImages, true);
},

View File

@ -1928,26 +1928,23 @@
<hbox id="phishingBar" class="msgNotificationBar" align="center">
<image id="phishingBarImage"/>
<description flex="1" class="msgNotificationBarText">&phishingBarMessage.label;</description>
<spacer flex="1"/>
<button label="&removePhishingBarButton.label;" oncommand="MsgIsNotAScam();"/>
</hbox>
<hbox id="junkBar" class="msgNotificationBar" align="center">
<image id="junkBarImage"/>
<description flex="1" class="msgNotificationBarText">&junkBarMessage.label;</description>
<spacer flex="1"/>
<button label="&junkInfoButton.label;" oncommand="MsgJunkMailInfo(false)"/>
<button label="&junkBarButton.label;" oncommand="JunkSelectedMessages(false);"/>
</hbox>
<hbox id="remoteContentBar" class="msgNotificationBar" align="center">
<image id="remoteContentImage"/>
<vbox>
<description flex="1" class="msgNotificationBarText">&remoteContentMessage.label;</description>
<label id="allowRemoteContentForAuthorDesc" class="text-link" flex="1"
<vbox flex="1">
<description class="msgNotificationBarText">&remoteContentMessage.label;</description>
<label id="allowRemoteContentForAuthorDesc" class="text-link"
onclick="allowRemoteContentForSender();"/>
</vbox>
<spacer flex="1"/>
<button label="&loadRemoteContentButton.label;" oncommand="loadMsgWithRemoteContent();"/>
</hbox>
</deck>