mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-16 06:54:00 +00:00
backing out fix for 90080 as it is redundant and caused other bugs (always showing alert
when exiting prefs after viewing appearance, inability to close prefwindow sometimes see bug 109561).
This commit is contained in:
parent
06be573267
commit
9ea17980e5
@ -55,5 +55,3 @@ switchskinstitle=Apply Theme
|
||||
# set the following value to false so it won't show up.
|
||||
showskinsdescription=true
|
||||
|
||||
switchlanguage=Preferred language changes will take effect when you restart %S.
|
||||
switchlanguagetitle=Change Preferred Language
|
||||
|
@ -70,15 +70,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
var promptService = Components.classes["@mozilla.org/embedcomp/prompt-service;1"].getService(Components.interfaces.nsIPromptService);
|
||||
var strbundle = document.getElementById("navigatorBundle");
|
||||
var brandbundle = document.getElementById("brandBundle");
|
||||
|
||||
var dialogTitle = strbundle.getString("switchlanguagetitle");
|
||||
var brandName = brandbundle.getString("brandShortName");
|
||||
var msg = strbundle.getFormattedString("switchlanguage", [brandName]);
|
||||
promptService.alert(window, dialogTitle, msg);
|
||||
|
||||
return true;
|
||||
}
|
||||
]]>
|
||||
@ -86,9 +77,6 @@
|
||||
|
||||
<hbox class="box-smallheader" title="&lHeader;"/>
|
||||
|
||||
<stringbundle id="navigatorBundle" src="chrome://navigator/locale/navigator.properties"/>
|
||||
<stringbundle id="brandBundle" src="chrome://global/locale/brand.properties"/>
|
||||
|
||||
<groupbox id="generalStartupPreferences" align="start">
|
||||
<caption label="&onStartLegend.label;"/>
|
||||
<!-- XXX remove when navigator overlays.rdf works -->
|
||||
|
Loading…
x
Reference in New Issue
Block a user