we can't use the localized pretty name for "Local Folders" for the

the hostname of the "Local Folders" server, or for the name of the
directory on disk.  if we did, as soon as someone localized "Local Folders"
migration would break.  while I'm here, only hard code these strings
once.  to allow people to build without mailnews, hard code them in nsIPrefMigration.idl

r=alecf


git-svn-id: svn://10.0.0.236/trunk@71330 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
sspitzer%netscape.com
2000-06-02 02:49:06 +00:00
parent edd2af6a7d
commit 5e070cbda5
5 changed files with 16 additions and 24 deletions

View File

@@ -50,6 +50,7 @@
#endif
#include "nsIProfile.h"
#include "nsIPrefMigration.h" // for NEW_IMAPMAIL_DIR_NAME, etc
#include "plstr.h"
#include "prenv.h"
@@ -566,21 +567,21 @@ void nsSpecialFileSpec::operator = (Type aType)
case App_MailDirectory50:
{
*this = nsSpecialFileSpec(App_UserProfileDirectory50);
*this += "Mail";
*this += NEW_MAIL_DIR_NAME;
break;
}
break;
case App_ImapMailDirectory50:
{
*this = nsSpecialFileSpec(App_UserProfileDirectory50);
*this += "ImapMail";
*this += NEW_IMAPMAIL_DIR_NAME;
break;
}
break;
case App_NewsDirectory50:
{
*this = nsSpecialFileSpec(App_UserProfileDirectory50);
*this += "News";
*this += NEW_NEWS_DIR_NAME;
break;
}
break;