зеркало из https://github.com/mozilla/gecko-dev.git
adding help buttons to os2 dialogs to fix pref panel there, b=46226, rs=blizzard, r=mkaply
This commit is contained in:
Родитель
a3ebe88fb9
Коммит
d7d55b6c06
|
@ -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">
|
||||
|
|
Загрузка…
Ссылка в новой задаче