From 6f2423cee5b460e73eee6d627bf10cff75e7aed0 Mon Sep 17 00:00:00 2001 From: "cbiesinger%web.de" Date: Sat, 8 Apr 2006 00:57:51 +0000 Subject: [PATCH] Bug 235058 Content/language switching from UI is broken r=neil sr=bz git-svn-id: svn://10.0.0.236/trunk@193888 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/suite/common/pref/pref-locales.xul | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/suite/common/pref/pref-locales.xul b/mozilla/suite/common/pref/pref-locales.xul index a0c1630f811..7a8f1dbf67e 100644 --- a/mozilla/suite/common/pref/pref-locales.xul +++ b/mozilla/suite/common/pref/pref-locales.xul @@ -64,7 +64,7 @@ var shouldRemoveFaslFile = false; //Switch the Content pack if necessary var oldContentPack = parent.hPrefWindow.getPref( "localizedstring", "general.useragent.contentlocale"); - var newContentPack = parent.hPrefWindow.wsm.dataManager.getItemData( "chrome://communicator/content/pref/pref-content.xul", "contentPackList" ).prefvalue; + var newContentPack = parent.hPrefWindow.wsm.dataManager.getItemData( "chrome://content-packs/content/pref-contentpacks.xul", "contentPackList" ).prefvalue; if (newContentPack && (newContentPack != oldContentPack)) { try { @@ -77,7 +77,7 @@ //Switch the Language pack if necessary var oldLanguagePack = parent.hPrefWindow.getPref( "localizedstring", "general.useragent.locale"); - var newLanguagePack = parent.hPrefWindow.wsm.dataManager.getItemData( "chrome://communicator/content/pref/pref-content.xul", "languagePackList" ).prefvalue; + var newLanguagePack = parent.hPrefWindow.wsm.dataManager.getItemData( "chrome://content-packs/content/pref-contentpacks.xul", "languagePackList" ).prefvalue; if (newLanguagePack && (newLanguagePack != oldLanguagePack)) { try {