Merge lp:~brandontschaefer/unity/lp1085045-fix-title-not-updating-6.0 into lp:unity/6.0
Proposed by
Brandon Schaefer
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Stephen M. Webb | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 2798 | ||||
Proposed branch: | lp:~brandontschaefer/unity/lp1085045-fix-title-not-updating-6.0 | ||||
Merge into: | lp:unity/6.0 | ||||
Diff against target: |
25 lines (+6/-1) 2 files modified
panel/PanelMenuView.cpp (+1/-1) tests/autopilot/unity/tests/launcher/test_keynav.py (+5/-0) |
||||
To merge this branch: | bzr merge lp:~brandontschaefer/unity/lp1085045-fix-title-not-updating-6.0 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Stephen M. Webb (community) | Approve | ||
Review via email: mp+137348@code.launchpad.net |
Commit message
Panel title is now being set when in KeyNav mode.
Description of the change
=== Problem ===
When going into KeyNav mode through Alt+F1 the panel title was not being updated to reflect the icon name.
The panel_title was being set to the icon name, but after that in Refresh a check if _panel_title == new_title was always returning true. This is because GetCurrentTitle would reutrn the _panel_title if in keynav more or in switcher mode. So _panel_title == _panel_title....
=== Fix ===
Force the panel title to update.
=== Test ===
There is a nice simple AP test for this.
To post a comment you must log in.
Look jus' fine.