Closed Bug 483415 Opened 15 years ago Closed 15 years ago

Print Preview directional buttons are flipped for RTL locales

Categories

(Toolkit :: Themes, defect)

All
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)

Details

(Keywords: fixed1.9.1, rtl)

Attachments

(1 file, 1 obsolete file)

Attached patch Patch (v1) (obsolete) — Splinter Review
We need to use the RTL versions of the GTK stock icons for the print preview window directional toolbar buttons in RTL locales.

The attached patch does this.
Flags: in-litmus?
Attachment #367398 - Flags: review?(dao)
Comment on attachment 367398 [details] [diff] [review]
Patch (v1)

> .home-arrow {
>   list-style-image: url("moz-icon://stock/gtk-goto-first?size=menu");
> }

Shouldn't we use gtk-goto-first-ltr here?

>+[chromedir="rtl"].home-arrow {

.home-arrow[chromedir="rtl"], please? :)

We should probably get a bug filed on renaming left-arrow to back-arrow and right-arrow to forward-arrow, or at least adding these class names and leaving the old ones for backward compatibility.
Component: Printing → Themes
QA Contact: printing → themes
Attached patch Patch (v2)Splinter Review
(In reply to comment #1)
> (From update of attachment 367398 [details] [diff] [review])
> > .home-arrow {
> >   list-style-image: url("moz-icon://stock/gtk-goto-first?size=menu");
> > }
> 
> Shouldn't we use gtk-goto-first-ltr here?

Yeah, I guess being explicit is better here.

> >+[chromedir="rtl"].home-arrow {
> 
> .home-arrow[chromedir="rtl"], please? :)

Sure.  I was thinking in my head which of these is more readable, and I finally picked this style randomly!  :-)

> We should probably get a bug filed on renaming left-arrow to back-arrow and
> right-arrow to forward-arrow, or at least adding these class names and leaving
> the old ones for backward compatibility.

Filed bug 483419.
Attachment #367398 - Attachment is obsolete: true
Attachment #367403 - Flags: review?(dao)
Attachment #367398 - Flags: review?(dao)
Attachment #367403 - Flags: review?(dao) → review+
http://hg.mozilla.org/mozilla-central/rev/6e2308f99161
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment on attachment 367403 [details] [diff] [review]
Patch (v2)

Low-risk theme-only change which fixes an RTL theme problem for Linux.  Nice to have on 1.9.1.
Attachment #367403 - Flags: approval1.9.1?
Comment on attachment 367403 [details] [diff] [review]
Patch (v2)

a191=drivers
Attachment #367403 - Flags: approval1.9.1? → approval1.9.1+
Flags: in-litmus?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: