fix offline toggle in mail news windows r=mohanb, sr=sspitzer 78920 (ui changes only, won't affect tinderbox)

This commit is contained in:
bienvenu%netscape.com 2001-05-09 04:33:09 +00:00
parent fe1363c0a2
commit deb6defbd0
2 changed files with 2 additions and 6 deletions

View File

@ -158,6 +158,8 @@ function CreateMailWindowGlobals()
messagesBox = document.getElementById("messagesBox");
accountCentralBox = document.getElementById("accountCentralBox");
gPaneConfig = pref.GetIntPref("mail.pane_config");
setOfflineStatus();
}
function InitMsgWindow()

View File

@ -77,12 +77,6 @@ Rights Reserved.
<command id="cmd_renameFolder" oncommand="goDoCommand('cmd_renameFolder')" />
</commandset>
<broadcasterset id="broadcasterset">
<broadcaster id="cmd_toggleWorkOffline" oncommand="goDoCommand('cmd_toggleWorkOffline')" disabled="true"/>
</broadcasterset>
<statusbarpanel id="offline-status" tooltip="aTooltip" observes="cmd_toggleWorkOffline"/>
<commandset id="mailCommands">
<command id="cmd_newNavigator"/>
<command id="cmd_newEditor"/>