Merge lp:~osomon/unity-2d/custom-quicklists-dynamic into lp:unity-2d/3.0
Proposed by
Olivier Tilloy
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Ugo Riboni | ||||
Approved revision: | 560 | ||||
Merged at revision: | 563 | ||||
Proposed branch: | lp:~osomon/unity-2d/custom-quicklists-dynamic | ||||
Merge into: | lp:unity-2d/3.0 | ||||
Diff against target: |
296 lines (+93/-13) 6 files modified
launcher/UnityApplications/launcherapplication.cpp (+59/-9) launcher/UnityApplications/launcherapplication.h (+10/-1) launcher/UnityApplications/launcherapplicationslist.cpp (+7/-1) launcher/UnityApplications/launcherapplicationslist.h (+2/-1) launcher/UnityApplications/launchermenu.cpp (+12/-1) launcher/UnityApplications/launchermenu.h (+3/-0) |
||||
To merge this branch: | bzr merge lp:~osomon/unity-2d/custom-quicklists-dynamic | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ugo Riboni (community) | Approve | ||
Florian Boucault | Pending | ||
Review via email: mp+59396@code.launchpad.net |
Commit message
[launcher] Support dynamic shortcuts in the quicklists.
Dynamic shortcuts are exposed over D-Bus by the application through the use of libunity.
See https:/
Description of the change
Note: at the moment, it seems the only application in the archive that implements dynamic quicklists is deja-dup.
To test, you will need to install deja-dup, start a backup, and observe the quicklist while backing up.
Alternatively, you can run example programs that pretend to be another application and expose dynamic a quicklist for it, see https:/
To post a comment you must log in.
Functionally it works OK. I tested it both with dejadup and with the example code.
The only issue that might be interesting to fix is that if the menu is already open, it's not updated. This leads to having some menu items that are not necessarily valid anymore. Not sure what will happen if you try to activate a menu item that the application has removed already.