This commit is contained in:
scott%scott-macgregor.org 2003-04-16 20:55:22 +00:00
Родитель 20384007c3
Коммит d38ecc1d57
2 изменённых файлов: 7 добавлений и 4 удалений

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

@ -1990,6 +1990,6 @@ function loadThrobberUrl(urlPref)
var url; var url;
try { try {
url = gPrefs.getComplexValue(urlPref, Components.interfaces.nsIPrefLocalizedString).data; url = gPrefs.getComplexValue(urlPref, Components.interfaces.nsIPrefLocalizedString).data;
messenger.loadExternalURL(window, url); messenger.loadURL(window, url);
} catch (ex) {} } catch (ex) {}
} }

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

@ -60,6 +60,8 @@ var gRightMouseButtonDown = false;
// This is used to make sure that the row with the currentIndex has the selection // This is used to make sure that the row with the currentIndex has the selection
// after a Delete or Move of a message that has a row index less than currentIndex. // after a Delete or Move of a message that has a row index less than currentIndex.
var gThreadPaneCurrentSelectedIndex = -1; var gThreadPaneCurrentSelectedIndex = -1;
var gLoadStartFolder = true;
var gNewAccountToLoad = null;
// Global var to keep track of if the 'Delete Message' or 'Move To' thread pane // Global var to keep track of if the 'Delete Message' or 'Move To' thread pane
// context menu item was triggered. This helps prevent the tree view from // context menu item was triggered. This helps prevent the tree view from
@ -789,14 +791,15 @@ function loadStartFolder(initialUri)
var startFolder = startFolderResource.QueryInterface(Components.interfaces.nsIFolder); var startFolder = startFolderResource.QueryInterface(Components.interfaces.nsIFolder);
SelectFolder(startFolder.URI); SelectFolder(startFolder.URI);
// only do this on startup, when we pass in null // only do this on startup, when we pass in null
if (!initialUri && isLoginAtStartUpEnabled) if (!initialUri && isLoginAtStartUpEnabled && gLoadStartFolder)
{ {
// Perform biff on the server to check for new mail, except for imap // Perform biff on the server to check for new mail, except for imap
if (defaultServer.type != "imap") if (defaultServer.type != "imap")
defaultServer.PerformBiff(); defaultServer.PerformBiff();
} }
// because the "open" state persists, we'll call // because the "open" state persists, we'll call
// PerformExpand() for all servers that are open at startup. // PerformExpand() for all servers that are open at startup.