Bug 88630 - Themes and locales do not change when using turbo. r=vishy/sr=blake

git-svn-id: svn://10.0.0.236/trunk@210843 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
ccarlen%netscape.com
2006-09-14 05:58:59 +00:00
parent 05bfb111d3
commit e1309aa1cf

View File

@@ -1297,6 +1297,9 @@ function applyTheme(themeName)
// hacking around it yet again
pref.SetUnicharPref("general.skins.selectedSkin", themeName.getAttribute("name"));
var observerService = Components.classes["@mozilla.org/observer-service;1"].getService(Components.interfaces.nsIObserverService);
observerService.Notify(null, "skin-selected", null);
if (promptService) {
var dialogTitle = gNavigatorBundle.getString("switchskinstitle");
var brandName = gBrandBundle.getString("brandShortName");