Merge lp://qastaging/~slash-m3/unity/fix-bug-730623 into lp://qastaging/unity
Proposed by
Friik
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 1012 | ||||
Proposed branch: | lp://qastaging/~slash-m3/unity/fix-bug-730623 | ||||
Merge into: | lp://qastaging/unity | ||||
Diff against target: |
220 lines (+80/-28) 4 files modified
src/PlacesController.cpp (+4/-1) src/PlacesHomeView.cpp (+69/-26) src/PlacesHomeView.h (+6/-1) src/UBusMessages.h (+1/-0) |
||||
To merge this branch: | bzr merge lp://qastaging/~slash-m3/unity/fix-bug-730623 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Gord Allott (community) | Needs Fixing | ||
Jason Smith (community) | Needs Information | ||
Review via email:
|
Description of the change
As we don't get notified by GConf about whether or not shotwell is the preferred image viewer (or whether or not it is installed), the check for suitable shortcuts in the dash had to be done every time the dash is opened. I had to create a new UBusMessage to achieve that.
The shortcuts on the HomeView first check if the default application is available. If not (e.g. because the preferred program was just uninstalled), some alternatives are tested. And if no suitable app was found, the shortcut is simply not displayed.
To post a comment you must log in.
Why disable the gconf key check. It seems to me that key would also change if the user changed their default. Something we should strive to represent.