зеркало из https://github.com/mozilla/pjs.git
r=gerv, sr=bryner On OS/2, don't allow custom DPI
This commit is contained in:
Родитель
26b4330a49
Коммит
3d6decc10b
|
@ -184,6 +184,8 @@ function Startup()
|
|||
{
|
||||
defaultResolution = "120";
|
||||
otherResolution = "96";
|
||||
document.getElementById( "arbitraryResolution" ).setAttribute( "hidden", "true" );
|
||||
document.getElementById( "resolutionSeparator" ).setAttribute( "hidden", "true" );
|
||||
} else {
|
||||
defaultResolution = "96";
|
||||
otherResolution = "72";
|
||||
|
|
|
@ -280,9 +280,9 @@
|
|||
label="&resolution.system.label;"
|
||||
id="systemResolution"
|
||||
hidden="true"/>
|
||||
<menuseparator/>
|
||||
<menuseparator id="resolutionSeparator"/>
|
||||
<menuitem id="userResolution" hidden="true"/>
|
||||
<menuitem value="other" label="&resolution.other;"/>
|
||||
<menuitem id="arbitraryResolution" value="other" label="&resolution.other;"/>
|
||||
</menupopup>
|
||||
</menulist>
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче