adding help buttons to os2 dialogs to fix pref panel there, b=46226, rs=blizzard, r=mkaply

This commit is contained in:
oeschger%netscape.com 2001-06-28 14:29:26 +00:00
Родитель a3ebe88fb9
Коммит d7d55b6c06
2 изменённых файлов: 21 добавлений и 0 удалений

Просмотреть файл

@ -36,6 +36,16 @@
<spring flex="1"/>
</box>
<box id="okCancelHelpButtons" align="horizontal">
<spring flex="1"/>
<button class="right exit-dialog" id="ok" label="&okButton.label;" default="true" oncommand="doOKButton();"/>
<button class="exit-dialog" id="Button2" label="&cancelButton.label;" collapsed="true" oncommand="doButton2();"/>
<button class="exit-dialog" id="Button3" label="&cancelButton.label;" collapsed="true" oncommand="doButton3();"/>
<button class="exit-dialog" id="cancel" label="&cancelButton.label;" oncommand="doCancelButton();"/>
<button class="exit-dialog" id="help" label="&helpButton.label;" oncommand="doHelpButton();"/>
<spring flex="1"/>
</box>
<box id="okCancelButtonsRight" halign="right">
<spring flex="1"/>
<button class="right exit-dialog" id="ok" label="&okButton.label;" default="true" oncommand="doOKButton();"/>
@ -44,6 +54,16 @@
<button class="exit-dialog" id="cancel" label="&cancelButton.label;" oncommand="doCancelButton();"/>
</box>
<box id="okCancelHelpButtonsRight" align="horizontal">
<spring flex="1"/>
<button class="right exit-dialog" id="ok" label="&okButton.label;" default="true" oncommand="doOKButton();"/>
<button class="exit-dialog" id="Button2" label="&cancelButton.label;" collapsed="true" oncommand="doButton2();"/>
<button class="exit-dialog" id="Button3" label="&cancelButton.label;" collapsed="true" oncommand="doButton3();"/>
<button class="exit-dialog" id="cancel" label="&cancelButton.label;" oncommand="doCancelButton();"/>
<button class="exit-dialog" id="help" label="&helpButton.label;" oncommand="doHelpButton();"/>
<spring flex="1"/>
</box>
<keyset id="dialogKeys">
<key keycode="VK_ENTER" oncommand="if (!document.getElementById('ok').disabled) doOKButton();"/>
<key keycode="VK_RETURN" oncommand="if (!document.getElementById('ok').disabled) doOKButton();"/>

Просмотреть файл

@ -3,6 +3,7 @@
<!-- OK Cancel Buttons -->
<!ENTITY okButton.label "OK">
<!ENTITY cancelButton.label "Cancel">
<!ENTITY helpButton.label "Help">
<!-- Key labels, for mousewheel prefs -->
<!ENTITY ctrlKey.label "Control">