Bug 483419 - Rename the left-arrow and right-arrow class names in the print preview toolbar to previous-arrow and next-arrow. r=dao

This commit is contained in:
Jae-Seong Lee 2009-10-02 08:21:38 +02:00
parent 662658b106
commit e85e9409e1
4 changed files with 18 additions and 18 deletions

View File

@ -66,16 +66,16 @@
</xul:vbox>
<xul:toolbarbutton class="home-arrow tabbable"
oncommand="parentNode.navigate(0, 0, 'home');" tooltiptext="&homearrow.tooltip;"/>
<xul:toolbarbutton class="left-arrow tabbable"
oncommand="parentNode.navigate(-1, 0, 0);" tooltiptext="&leftarrow.tooltip;"/>
<xul:toolbarbutton class="previous-arrow tabbable"
oncommand="parentNode.navigate(-1, 0, 0);" tooltiptext="&previousarrow.tooltip;"/>
<xul:hbox align="center" pack="center">
<xul:textbox id="pageNumber" size="3" value="1" min="1" type="number"
hidespinbuttons="true" onchange="navigate(0, this.valueNumber, 0);"/>
<xul:label value="&of.label;"/>
<xul:label value="1"/>
</xul:hbox>
<xul:toolbarbutton class="right-arrow tabbable"
oncommand="parentNode.navigate(1, 0, 0);" tooltiptext="&rightarrow.tooltip;"/>
<xul:toolbarbutton class="next-arrow tabbable"
oncommand="parentNode.navigate(1, 0, 0);" tooltiptext="&nextarrow.tooltip;"/>
<xul:toolbarbutton class="end-arrow tabbable"
oncommand="parentNode.navigate(0, 0, 'end');" tooltiptext="&endarrow.tooltip;"/>

View File

@ -68,5 +68,5 @@
<!ENTITY homearrow.tooltip "First page">
<!ENTITY endarrow.tooltip "Last page">
<!ENTITY rightarrow.tooltip "Next page">
<!ENTITY leftarrow.tooltip "Previous page">
<!ENTITY nextarrow.tooltip "Next page">
<!ENTITY previousarrow.tooltip "Previous page">

View File

@ -16,19 +16,19 @@
list-style-image: url("moz-icon://stock/gtk-goto-last-rtl?size=menu");
}
.left-arrow {
.previous-arrow {
list-style-image: url("moz-icon://stock/gtk-go-back-ltr?size=menu");
}
.left-arrow:-moz-locale-dir(rtl) {
.previous-arrow:-moz-locale-dir(rtl) {
list-style-image: url("moz-icon://stock/gtk-go-back-rtl?size=menu");
}
.right-arrow {
.next-arrow {
list-style-image: url("moz-icon://stock/gtk-go-forward-ltr?size=menu");
}
.right-arrow:-moz-locale-dir(rtl) {
.next-arrow:-moz-locale-dir(rtl) {
list-style-image: url("moz-icon://stock/gtk-go-forward-rtl?size=menu");
}

View File

@ -22,25 +22,25 @@
-moz-image-region: rect(0, 32px, 16px, 16px);
}
.left-arrow,
.right-arrow:-moz-locale-dir(rtl) {
.previous-arrow,
.next-arrow:-moz-locale-dir(rtl) {
list-style-image: url("chrome://global/skin/printpreview/arrow-left.png");
-moz-image-region: rect(0, 16px, 16px, 0);
}
.left-arrow:hover,
.right-arrow:-moz-locale-dir(rtl):hover {
.previous-arrow:hover,
.next-arrow:-moz-locale-dir(rtl):hover {
-moz-image-region: rect(0, 32px, 16px, 16px);
}
.right-arrow,
.left-arrow:-moz-locale-dir(rtl) {
.next-arrow,
.previous-arrow:-moz-locale-dir(rtl) {
list-style-image: url("chrome://global/skin/printpreview/arrow-right.png");
-moz-image-region: rect(0, 16px, 16px, 0);
}
.right-arrow:hover,
.left-arrow:-moz-locale-dir(rtl):hover {
.next-arrow:hover,
.previous-arrow:-moz-locale-dir(rtl):hover {
-moz-image-region: rect(0, 32px, 16px, 16px);
}