Bug 427021 - [RTL] Wizard widget should get mirrored buttons on GTK; r=dao

This commit is contained in:
Ehsan Akhgari 2009-02-01 18:34:09 +03:30
parent f3d5cba99a
commit dbc6942b6a
2 changed files with 26 additions and 8 deletions

View File

@ -535,7 +535,8 @@
dlgtype="cancel" icon="cancel"/>
<xul:spacer style="width: 24px"/>
<xul:button label="&button-back-unix.label;" accesskey="&button-back-unix.accesskey;"
class="wizard-button" dlgtype="back" icon="go-back"/>
class="wizard-button" dlgtype="back" icon="go-back"
chromedir="&locale.dir;"/>
<xul:deck class="wizard-next-deck" anonid="WizardButtonDeck">
<xul:hbox>
<xul:button label="&button-finish-unix.label;" class="wizard-button"
@ -544,12 +545,13 @@
<xul:hbox>
<xul:button label="&button-next-unix.label;" accesskey="&button-next-unix.accesskey;"
class="wizard-button" dlgtype="next" icon="go-forward"
default="true" flex="1"/>
chromedir="&locale.dir;" default="true" flex="1"/>
</xul:hbox>
</xul:deck>
#else
<xul:button label="&button-back-win.label;" accesskey="&button-back-win.accesskey;"
class="wizard-button" dlgtype="back" icon="go-back"/>
class="wizard-button" dlgtype="back" icon="go-back"
chromedir="&locale.dir;"/>
<xul:deck class="wizard-next-deck" anonid="WizardButtonDeck">
<xul:hbox>
<xul:button label="&button-finish-win.label;" class="wizard-button"
@ -558,7 +560,7 @@
<xul:hbox>
<xul:button label="&button-next-win.label;" accesskey="&button-next-win.accesskey;"
class="wizard-button" dlgtype="next" icon="go-forward"
default="true" flex="1"/>
chromedir="&locale.dir;" default="true" flex="1"/>
</xul:hbox>
</xul:deck>
<xul:button label="&button-cancel-win.label;" class="wizard-button"

View File

@ -319,19 +319,35 @@ button[icon="revert"][disabled="true"] .button-icon {
}
button[icon="go-forward"] .button-icon {
list-style-image: url("moz-icon://stock/gtk-go-forward?size=button");
list-style-image: url("moz-icon://stock/gtk-go-forward-ltr?size=button");
}
button[icon="go-forward"][disabled="true"] .button-icon {
list-style-image: url("moz-icon://stock/gtk-go-forward?size=button&state=disabled");
list-style-image: url("moz-icon://stock/gtk-go-forward-ltr?size=button&state=disabled");
}
button[icon="go-forward"][chromedir="rtl"] .button-icon {
list-style-image: url("moz-icon://stock/gtk-go-forward-rtl?size=button");
}
button[icon="go-forward"][chromedir="rtl"][disabled="true"] .button-icon {
list-style-image: url("moz-icon://stock/gtk-go-forward-rtl?size=button&state=disabled");
}
button[icon="go-back"] .button-icon {
list-style-image: url("moz-icon://stock/gtk-go-back?size=button");
list-style-image: url("moz-icon://stock/gtk-go-back-ltr?size=button");
}
button[icon="go-back"][disabled="true"] .button-icon {
list-style-image: url("moz-icon://stock/gtk-go-back?size=button&state=disabled");
list-style-image: url("moz-icon://stock/gtk-go-back-ltr?size=button&state=disabled");
}
button[icon="go-back"][chromedir="rtl"] .button-icon {
list-style-image: url("moz-icon://stock/gtk-go-back-rtl?size=button");
}
button[icon="go-back"][chromedir="rtl"][disabled="true"] .button-icon {
list-style-image: url("moz-icon://stock/gtk-go-back-rtl?size=button&state=disabled");
}
button[icon="properties"] .button-icon {