Merge lp://qastaging/~3v1n0/unity/add-launcher-item-from-dbus into lp://qastaging/unity
Status: | Work in progress |
---|---|
Proposed branch: | lp://qastaging/~3v1n0/unity/add-launcher-item-from-dbus |
Merge into: | lp://qastaging/unity |
Diff against target: |
145 lines (+99/-0) 3 files modified
launcher/LauncherController.cpp (+50/-0) launcher/LauncherControllerPrivate.h (+1/-0) tests/test_launcher_controller.cpp (+48/-0) |
To merge this branch: | bzr merge lp://qastaging/~3v1n0/unity/add-launcher-item-from-dbus |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Andrea Azzarone (community) | Approve | ||
Review via email:
|
Commit message
LauncherController: add AddLauncherItem dbus method that allows to add a new .desktop file to the launcher
Description of the change
Add a new dbus method to Launcher Controller that allows to add a new application to the launcher, if the application icon is already in the launcher, the icon will be sticked to it.
This will allow to do:
gdbus call --session --dest com.canonical.
Where <argument> can be:
app.desktop
/path/to/
application:
application:
file://
Unit tests included.
Unmerged revisions
- 2721. By Marco Trevisan (Treviño)
-
unityshell: reverts changes (not for this branch)
- 2720. By Marco Trevisan (Treviño)
-
TestLauncherCon
troller: added test for OnLauncherAddRe questDesktopFil e - 2719. By Marco Trevisan (Treviño)
-
LauncherController: add AddLauncherItem dbus method that allows to add a new .desktop file to the launcher
- 2718. By Marco Trevisan (Treviño)
-
Merging with trunk
why do we need it?