зеркало из https://github.com/mozilla/pjs.git
Re-enable the actual distribution/bundles loading code from bug 392251, now that the Ts regression is fixed.
This commit is contained in:
Родитель
f35dab1ee1
Коммит
01b1ad17e5
|
@ -547,9 +547,7 @@ nsXREDirProvider::LoadBundleDirectories()
|
||||||
if (mXULAppDir) {
|
if (mXULAppDir) {
|
||||||
LoadPlatformDirectory(mXULAppDir, mAppBundleDirectories);
|
LoadPlatformDirectory(mXULAppDir, mAppBundleDirectories);
|
||||||
|
|
||||||
#ifdef LOAD_DISTRO_BUNDLES
|
|
||||||
LoadAppBundleDirs();
|
LoadAppBundleDirs();
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mProfileDir && !gSafeMode) {
|
if (mProfileDir && !gSafeMode) {
|
||||||
|
@ -575,7 +573,6 @@ nsXREDirProvider::LoadBundleDirectories()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef LOAD_DISTRO_BUNDLES
|
|
||||||
void
|
void
|
||||||
nsXREDirProvider::LoadAppBundleDirs()
|
nsXREDirProvider::LoadAppBundleDirs()
|
||||||
{
|
{
|
||||||
|
@ -609,7 +606,6 @@ nsXREDirProvider::LoadAppBundleDirs()
|
||||||
LoadPlatformDirectory(subdir, mAppBundleDirectories);
|
LoadPlatformDirectory(subdir, mAppBundleDirectories);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // LOAD_DISTRO_BUNDLES
|
|
||||||
|
|
||||||
static const char *const kAppendPrefDir[] = { "defaults", "preferences", nsnull };
|
static const char *const kAppendPrefDir[] = { "defaults", "preferences", nsnull };
|
||||||
|
|
||||||
|
|
|
@ -122,10 +122,7 @@ protected:
|
||||||
// Calculate all bundle directories, including distribution bundles,
|
// Calculate all bundle directories, including distribution bundles,
|
||||||
// extensions, and themes
|
// extensions, and themes
|
||||||
void LoadBundleDirectories();
|
void LoadBundleDirectories();
|
||||||
|
|
||||||
#ifdef LOAD_DISTRO_BUNDLES
|
|
||||||
void LoadAppBundleDirs();
|
void LoadAppBundleDirs();
|
||||||
#endif
|
|
||||||
|
|
||||||
void Append(nsIFile* aDirectory);
|
void Append(nsIFile* aDirectory);
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче