зеркало из https://github.com/mozilla/pjs.git
Adding the profile-chrome directory for use by skin installer
This commit is contained in:
Родитель
a9050f6ecd
Коммит
3330732af3
|
@ -94,6 +94,8 @@ class NS_APPSHELL nsSpecialFileSpec : public nsFileSpec
|
|||
, App_ChromeDirectory = App_DirectoryBase + 31
|
||||
, App_PluginsDirectory = App_DirectoryBase + 32
|
||||
|
||||
, App_UserChromeDirectory = App_DirectoryBase + 40
|
||||
|
||||
, App_FileBase = App_DirectoryBase + 1000
|
||||
, App_PreferencesFile30 = App_FileBase + 1
|
||||
, App_PreferencesFile40 = App_FileBase + 2
|
||||
|
|
|
@ -347,6 +347,14 @@ void nsSpecialFileSpec::operator = (Type aType)
|
|||
}
|
||||
break;
|
||||
|
||||
case App_UserChromeDirectory:
|
||||
{
|
||||
*this = nsSpecialFileSpec(App_UserProfileDirectory50);
|
||||
*this += "Chrome";
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
||||
case App_DefaultsFolder50:
|
||||
GetDefaultsFolder(*this);
|
||||
break;
|
||||
|
|
Загрузка…
Ссылка в новой задаче