Merge lp:~sjakthol/unity/fix-1297842 into lp:unity
Proposed by
Sami Jaktholm
Status: | Merged |
---|---|
Approved by: | Marco Trevisan (Treviño) |
Approved revision: | no longer in the source branch. |
Merged at revision: | 3771 |
Proposed branch: | lp:~sjakthol/unity/fix-1297842 |
Merge into: | lp:unity |
Diff against target: |
33 lines (+13/-0) 2 files modified
shortcuts/ShortcutController.cpp (+1/-0) tests/test_shortcut_controller.cpp (+12/-0) |
To merge this branch: | bzr merge lp:~sjakthol/unity/fix-1297842 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Marco Trevisan (Treviño) | Approve | ||
Review via email: mp+214410@code.launchpad.net |
Commit message
Shortcuts: Listen and react to view close requests.
Description of the change
Test case:
1. Run 'rm ~/.cache/
2. Restart unity
3. Try closing the shortcut overlay from the cross at the top left corner.
For me it was a bit tricky to test as the overlay didn't appear at all (apparently it required 773 pixels of vertical space and I only had 768 to spare).
I assume that the actual hiding of the overlay is already covered by tests and thus the included unit test only ensures ShortcutController reacts to the request_close signal.
To post a comment you must log in.
Cool, looks good.