Merge lp:~3v1n0/unity/app-quicklist-quit-override into lp:unity
Status: | Merged |
---|---|
Approved by: | Christopher Townsend |
Approved revision: | no longer in the source branch. |
Merged at revision: | 3397 |
Proposed branch: | lp:~3v1n0/unity/app-quicklist-quit-override |
Merge into: | lp:unity |
Prerequisite: | lp:~3v1n0/unity/app-icon-quicklist-cleanup |
Diff against target: |
473 lines (+238/-63) 8 files modified
launcher/ApplicationLauncherIcon.cpp (+38/-57) launcher/ApplicationLauncherIcon.h (+1/-1) launcher/LauncherIcon.cpp (+18/-2) launcher/LauncherIcon.h (+3/-2) launcher/QuicklistMenuItem.cpp (+1/-0) launcher/QuicklistMenuItem.h (+1/-0) tests/data/applications/ubuntu-software-center.desktop (+11/-0) tests/test_application_launcher_icon.cpp (+165/-1) |
To merge this branch: | bzr merge lp:~3v1n0/unity/app-quicklist-quit-override |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Approve | |
Christopher Townsend | Approve | ||
Review via email: mp+172040@code.launchpad.net |
Commit message
ApplicationLaun
If a quit action is defined in static (desktop file action) or dynamic way we
use it to override the default one, placing it to the proper position.
Also override more labels by default and if a quicklist item has the
QuicklistMenuIt
property set to TRUE, then we use this item as the quit quicklist item.
Factorized the code we use to generate both static and dynamic ql items.
Description of the change
Improved the code to override the quit quicklist entry so that it can be overridden by multiple labels and by a dbusmenu property.
Added virtual GetRemoteMenus to LauncherIcon so that it can be overridden in tests and it's finally possible to test quicklist remote entries.
Added a bunch of new tests to cover Remote quicklist entries, desktop actions quicklists, and Quit QL overriding.
FAILED: Continuous integration, rev:3429 jenkins. qa.ubuntu. com/job/ unity-ci/ 162/ jenkins. qa.ubuntu. com/job/ unity-saucy- amd64-ci/ 50/console jenkins. qa.ubuntu. com/job/ unity-saucy- armhf-ci/ 50/console jenkins. qa.ubuntu. com/job/ unity-saucy- i386-ci/ 50/console
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild: s-jenkins: 8080/job/ unity-ci/ 162/rebuild
http://