Merge lp:~haggai-eran/unity/rtl-menu-popup into lp:unity
Status: | Rejected |
---|---|
Rejected by: | Stephen M. Webb |
Proposed branch: | lp:~haggai-eran/unity/rtl-menu-popup |
Merge into: | lp:unity |
Diff against target: |
92 lines (+44/-2) 3 files modified
plugins/unityshell/src/PanelIndicatorObjectEntryView.cpp (+8/-2) plugins/unityshell/src/unityshell.cpp (+2/-0) services/panel-service.c (+34/-0) |
To merge this branch: | bzr merge lp:~haggai-eran/unity/rtl-menu-popup |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alex Launi (community) | Needs Fixing | ||
Neil J. Patel | Pending | ||
Review via email: mp+71541@code.launchpad.net |
Description of the change
Hi,
These patches should make the menus in the unity menu bar and in the indicators open to the left when using a right-to-left locale. In a right-to-left setting, the menus should open that way so that they are aligned to the right with the label of the menu or the indicator icon.
The patches change the unity service to show menus to the left of the coordinates given when using an RTL locale. It also changes unity panel to send the coordinates of the bottom right corner of the indicator label, instead of the bottom left. A similar patch was proposed for unity-2d at lp:~haggai-eran/unity-2d/4.0-rtl.
The branch depends on some changes I've proposed to the nux library, at lp:~haggai-eran/nux/rtl.
Unmerged revisions
- 1374. By Haggai Eran
-
Correct navigation in the menu when using keyboard on a right-to-left locale.
- 1373. By Haggai Eran
-
Open popup menus from the bottom-right point when using a right-to-left locale.
- 1372. By Haggai Eran
-
Align popup menus to the left when in right-to-left locale.
Please add tests that prove this behaves correctly.