This commit is contained in:
scott%scott-macgregor.org 2003-05-08 21:48:03 +00:00
Родитель 50819da455
Коммит b17f845d78
3 изменённых файлов: 21 добавлений и 7 удалений

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

@ -518,3 +518,8 @@ pref("mailnews.message_display.allow.plugins", false);
// to prevent some mail server to disclose the bcc recipients
pref("mail.compose.add_undisclosed_recipients", true);
// "mail.purge.min_delay", never purge a junk folder more than once every 480 minutes (60 mins/hour * 8 hours)
pref("mail.purge.min_delay",480);
// "mail.purge.timer_interval", fire the purge timer every 5 minutes, starting 5 minutes after we load accounts
pref("mail.purge.timer_interval",5);
pref("mailnews.view.last",0); // 0 == "all" view

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

@ -316,10 +316,12 @@ nsMsgStatusFeedback.prototype =
// Turn progress meter on.
this.statusBar.setAttribute("mode","undetermined");
// turn throbber on
this.throbber.setAttribute("busy", true);
// start the throbber
if (this.throbber)
this.throbber.setAttribute("busy", true);
//turn on stop button and menu
if (this.stopCmd)
this.stopCmd.removeAttribute("disabled");
},
startMeteors : function()
@ -327,7 +329,7 @@ nsMsgStatusFeedback.prototype =
this.pendingStartRequests++;
// if we don't already have a start meteor timeout pending
// and the meteors aren't spinning, then kick off a start
if (!this.startTimeoutID && !this.meteorsSpinning)
if (!this.startTimeoutID && !this.meteorsSpinning && window.MsgStatusFeedback)
this.startTimeoutID = setTimeout('window.MsgStatusFeedback._startMeteors();', 500);
// since we are going to start up the throbber no sense in processing
@ -349,8 +351,10 @@ nsMsgStatusFeedback.prototype =
var msg = gMessengerBundle.getString("documentDone");
this.showStatusString(msg);
defaultStatus = msg;
this.throbber.setAttribute("busy", false);
// stop the throbber
if (this.throbber)
this.throbber.setAttribute("busy", false);
// Turn progress meter off.
this.statusBar.setAttribute("mode","normal");
@ -361,7 +365,9 @@ nsMsgStatusFeedback.prototype =
this.progressMeterContainer.collapsed = true;
this.progressMeterVisible = false;
}
this.stopCmd.setAttribute("disabled", "true");
if (this.stopCmd)
this.stopCmd.setAttribute("disabled", "true");
this.meteorsSpinning = false;
this.stopTimeoutID = null;
@ -382,7 +388,7 @@ nsMsgStatusFeedback.prototype =
// AND the meteors are currently running then fire a stop timeout to shut them down.
if (this.pendingStartRequests == 0 && !this.stopTimeoutID)
{
if (this.meteorsSpinning)
if (this.meteorsSpinning && window.MsgStatusFeedback)
this.stopTimeoutID = setTimeout('window.MsgStatusFeedback._stopMeteors();', 500);
}
},

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

@ -256,6 +256,9 @@ var folderListener = {
{
Search("");
}
else {
ViewChangeByValue(pref.getIntPref("mailnews.view.last"));
}
}
}
else if (eventType == "ImapHdrDownloaded") {