Merge lp:~brandontschaefer/unity/get-real-ibus-activate-shortcut into lp:unity
Proposed by
Brandon Schaefer
Status: | Merged |
---|---|
Approved by: | Christopher Townsend |
Approved revision: | no longer in the source branch. |
Merged at revision: | 3517 |
Proposed branch: | lp:~brandontschaefer/unity/get-real-ibus-activate-shortcut |
Merge into: | lp:unity |
Diff against target: |
35 lines (+24/-2) 1 file modified
tests/autopilot/unity/tests/test_ibus.py (+24/-2) |
To merge this branch: | bzr merge lp:~brandontschaefer/unity/get-real-ibus-activate-shortcut |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Approve | |
Christopher Townsend | Approve | ||
Review via email: mp+186406@code.launchpad.net |
Commit message
Get the real shortcut to activate ibus.
Description of the change
Use ibus config to get the list of shortcuts to activate ibus. Use the first one, we have to do some simple string manipulation. As IBus uses <mod><mod><mod>key for its string, and autopilot uses mod+mod+mod+key, so just replace all '>' with a +, and ignore all '<'.
To post a comment you must log in.
LGTM +1