Merge lp:~fboucault/unity-2d/a11y_lens_navigation_bar into lp:unity-2d

Proposed by Florian Boucault
Status: Merged
Approved by: Gerry Boland
Approved revision: 719
Merged at revision: 719
Proposed branch: lp:~fboucault/unity-2d/a11y_lens_navigation_bar
Merge into: lp:unity-2d
Diff against target: 21 lines (+4/-0)
1 file modified
places/LensBar.qml (+4/-0)
To merge this branch: bzr merge lp:~fboucault/unity-2d/a11y_lens_navigation_bar
Reviewer Review Type Date Requested Status
Gerry Boland Pending
Review via email: mp+75319@code.launchpad.net

Description of the change

[dash] Made lens navigation bar buttons accessible.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'places/LensBar.qml'
2--- places/LensBar.qml 2011-09-01 14:40:15 +0000
3+++ places/LensBar.qml 2011-09-14 09:46:34 +0000
4@@ -97,6 +97,8 @@
5 LensButton {
6 id: homeLens
7
8+ Accessible.name: u2d.tr("home")
9+
10 focus: true
11 icon: "artwork/lens-nav-home.svg"
12 onClicked: dash.activateHome()
13@@ -113,6 +115,8 @@
14
15 model: visibleLenses
16 delegate: LensButton {
17+ Accessible.name: u2d.tr(item.name)
18+
19 /* Heuristic: if iconHint does not contain a '/' then it is an icon name */
20 icon: item.iconHint.indexOf("/") == -1 ? "image://icons/" + item.iconHint : item.iconHint
21 active: item.active

Subscribers

People subscribed via source and target branches