From d25ee9de68c806c61abc349150621972210ba436 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 --- suite/common/pref/pref-locales.xul | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/suite/common/pref/pref-locales.xul b/suite/common/pref/pref-locales.xul index a0c1630f811a..7a8f1dbf67ef 100644 --- a/suite/common/pref/pref-locales.xul +++ b/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 {