GNOME Bugzilla – Bug 684214
messageTray: Fix summary position in RTL locales
Last modified: 2012-09-19 01:45:56 UTC
See patch.
Created attachment 224506 [details] [review] messageTray: Fix summary position in RTL locales
Review of attachment 224506 [details] [review]: Clutter.ActorAlign.END is not Clutter.ActorAlign.RIGHT. If ClutterBinLayout doesn't respect that, it's a clutter bug.
For better or worse, the docs are pretty explicit about START == left and END == right.
And there's no Clutter.ActorAlign.RIGHT, anyway. So I'd say this patch is probably the right workaround for now. But you may want to file a clutter bug to sort out left/right vs start/end for 2.0. We never got that really cleaned up for gtk either, sadly...
No, Giovanni is right. ClutterBoxLayout explicitly checks RTL http://git.gnome.org/browse/clutter/tree/clutter/clutter-box-layout.c#n1091 http://git.gnome.org/browse/clutter/tree/clutter/clutter-box-layout.c#n1218 We rely on this behavior in lots of other places, so we shouldn't workaround it in one place, but instead investigate.
Oh, sorry, I just realized that this is an St.BoxLayout and not a ClutterBoxLayout.
Review of attachment 224506 [details] [review]: Yeah, let's go with this for now.
The documentation states that "For horizontal layouts, in right-to-left locales this should be reversed." So it's a bikeshedding question of whether a BinLayout is horizontal or vertical.
Attachment 224506 [details] pushed as e6ba7c6 - messageTray: Fix summary position in RTL locales