fix problem where local folders don't appear on first launch after migration, r=sspitzer, sr=mscott, a=sspitzer 223802
git-svn-id: svn://10.0.0.236/trunk@149551 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1183,10 +1183,6 @@ nsMessengerMigrator::MigrateLocalMailAccount()
|
||||
noServer = do_QueryInterface(server, &rv);
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
// we don't want "nobody at Local Folders" to show up in the
|
||||
// folder pane, so we set the pretty name to "Local Folders"
|
||||
server->SetPrettyName(mLocalFoldersName.get());
|
||||
|
||||
// create the directory structure for old 4.x "Local Mail"
|
||||
// under <profile dir>/Mail/Local Folders or
|
||||
// <"mail.directory" pref>/Local Folders
|
||||
@@ -1248,6 +1244,10 @@ nsMessengerMigrator::MigrateLocalMailAccount()
|
||||
mailDirSpec->CreateDir();
|
||||
}
|
||||
|
||||
// we don't want "nobody at Local Folders" to show up in the
|
||||
// folder pane, so we set the pretty name to "Local Folders"
|
||||
server->SetPrettyName(mLocalFoldersName.get());
|
||||
|
||||
// pass the "Local Folders" server so the send later uri pref
|
||||
// will be "mailbox://nobody@Local Folders/Unsent Messages"
|
||||
rv = SetSendLaterUriPref(server);
|
||||
|
||||
Reference in New Issue
Block a user