Merge lp:~mvo/ubuntu-app-launch/hide-apps-on-missing-framework into lp:ubuntu-app-launch/14.04
Status: | Work in progress |
---|---|
Proposed branch: | lp:~mvo/ubuntu-app-launch/hide-apps-on-missing-framework |
Merge into: | lp:ubuntu-app-launch/14.04 |
Diff against target: |
189 lines (+98/-10) 4 files modified
desktop-hook.c (+38/-0) helpers.c (+42/-10) helpers.h (+5/-0) tests/helper-test.cc (+13/-0) |
To merge this branch: | bzr merge lp:~mvo/ubuntu-app-launch/hide-apps-on-missing-framework |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Colin Watson | Needs Information | ||
PS Jenkins bot (community) | continuous-integration | Needs Fixing | |
Indicator Applet Developers | Pending | ||
Review via email: mp+218564@code.launchpad.net |
Commit message
Hide apps if the framework requirements are not/no longer meet (LP: #1271944)
Description of the change
This branch fixes bug #1271944 (as suggested by Colin) - when the desktop hook is run at system and session startup it will check if the framework requirements are meet. If that is not the case, the click package is hidden from the available applications. Once the frameworks becomes available again the click is made available again.
Please let me know what you think, happy to change the code/improve tests etc. There is currently some code duplication around the handling of TEST_CLICK_
Thanks,
Michael
Unmerged revisions
- 148. By Michael Vogt
-
remove get_pkgdir_
from_appid( ) helper which was misguided - 147. By Michael Vogt
-
add tests, make code more consitent
- 146. By Michael Vogt
-
fix error handling in get_manifest_
for_app_ id() - 145. By Michael Vogt
-
unregister a click application if the required framework is not/no longer available
Please also let me know if you prefer the branch as a single commit instead of the current 4 (for a cleaner history).