Merge lp:~aacid/unity-2d/addshortcutstochangelens into lp:unity-2d
Proposed by
Albert Astals Cid
Status: | Merged |
---|---|
Approved by: | Paweł Stołowski |
Approved revision: | 1051 |
Merged at revision: | 1052 |
Proposed branch: | lp:~aacid/unity-2d/addshortcutstochangelens |
Merge into: | lp:unity-2d |
Diff against target: |
51 lines (+41/-0) 1 file modified
shell/dash/Dash.qml (+41/-0) |
To merge this branch: | bzr merge lp:~aacid/unity-2d/addshortcutstochangelens |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Paweł Stołowski (community) | Approve | ||
Review via email: mp+100954@code.launchpad.net |
Commit message
[Dash] Implement shortcuts to change lenses
Description of the change
UNBLOCK
To post a comment you must log in.
Would you mind extracting part of the changeLens code that sets activeLens into a new function - getActiveLensIndex or so?
Also, how about having two functions: nextLens( currentIndex) and previousLens( currentIndex) that would wrap changeLens? I don't have strong opinion on this, but I think this could make it more readable than changeLens( lenses. rowCount( ) - 1). Up to you.
BTW, I confirmed with John Lea that the current Ctrl+PageUp and Ctrl+PageDown mapping you have is correct - and he updated the description of bug report.