зеркало из https://github.com/mozilla/pjs.git
Bug #270743 --> First launch account creation doesn't honor unchecking [ ] Download messages now option
Port some seamonkey changes to thunderbird to fix this issue. Patch by Henrik Skupin <hskupin@gmail.com>
This commit is contained in:
Родитель
bb2b9eb520
Коммит
b8eaff8447
|
@ -758,14 +758,22 @@ function MsgGetMessagesForAllServers(defaultServer)
|
|||
var protocolinfo = Components.classes["@mozilla.org/messenger/protocol/info;1?type=" + currentServer.type].getService(Components.interfaces.nsIMsgProtocolInfo);
|
||||
if (protocolinfo.canLoginAtStartUp && currentServer.loginAtStartUp)
|
||||
{
|
||||
if (currentServer.type == "pop3" && currentServer.downloadOnBiff)
|
||||
{
|
||||
CoalesceGetMsgsForPop3ServersByDestFolder(currentServer, pop3DownloadServersArray, localFoldersToDownloadTo);
|
||||
pop3Server = currentServer.QueryInterface(Components.interfaces.nsIPop3IncomingServer);
|
||||
}
|
||||
else
|
||||
// Check to see if there are new messages on the server
|
||||
currentServer.PerformBiff(msgWindow);
|
||||
if (defaultServer && defaultServer.equals(currentServer) &&
|
||||
!defaultServer.isDeferredTo &&
|
||||
defaultServer.rootFolder == defaultServer.rootMsgFolder)
|
||||
{
|
||||
dump(currentServer.serverURI + "...skipping, already opened\n");
|
||||
}
|
||||
else if (currentServer.type == "pop3" && currentServer.downloadOnBiff)
|
||||
{
|
||||
CoalesceGetMsgsForPop3ServersByDestFolder(currentServer, pop3DownloadServersArray, localFoldersToDownloadTo);
|
||||
pop3Server = currentServer.QueryInterface(Components.interfaces.nsIPop3IncomingServer);
|
||||
}
|
||||
else
|
||||
{
|
||||
// Check to see if there are new messages on the server
|
||||
currentServer.PerformBiff(msgWindow);
|
||||
}
|
||||
}
|
||||
}
|
||||
for (var i = 0; i < pop3DownloadServersArray.length; i++)
|
||||
|
|
|
@ -942,7 +942,7 @@ function loadStartFolder(initialUri)
|
|||
// or the case where initialUri is non-null (non-startup)
|
||||
if (!initialUri && isLoginAtStartUpEnabled && gLoadStartFolder
|
||||
&& !defaultServer.isDeferredTo &&
|
||||
defaultServer.msgFolder == defaultServer.rootMsgFolder)
|
||||
defaultServer.rootFolder == defaultServer.rootMsgFolder)
|
||||
defaultServer.PerformBiff(msgWindow);
|
||||
|
||||
SelectFolder(startFolder.URI);
|
||||
|
|
Загрузка…
Ссылка в новой задаче