Re-enable the actual distribution/bundles loading code from bug 392251, now that the Ts regression is fixed.

This commit is contained in:
benjamin@smedbergs.us 2007-09-05 06:08:07 -07:00
Родитель f35dab1ee1
Коммит 01b1ad17e5
2 изменённых файлов: 0 добавлений и 7 удалений

Просмотреть файл

@ -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);