mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1016161 - Flush prefs on handling a locale change event. r=mfinkle
This commit is contained in:
parent
8a552861f3
commit
af910f83c2
@ -1662,6 +1662,10 @@ var BrowserApp = {
|
||||
|
||||
Services.prefs.setBoolPref("intl.locale.matchOS", !aData);
|
||||
|
||||
// Ensure that this choice is immediately persisted, because
|
||||
// Gecko won't be told again if it forgets.
|
||||
Services.prefs.savePrefFile(null);
|
||||
|
||||
// Blow away the string cache so that future lookups get the
|
||||
// correct locale.
|
||||
Services.strings.flushBundles();
|
||||
|
Loading…
Reference in New Issue
Block a user