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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user