Merge lp:~didrocks/unity-lens-music/add-conditional-activation into lp:unity-lens-music
Proposed by
Didier Roche-Tolomelli
Status: | Merged |
---|---|
Approved by: | Michal Hruby |
Approved revision: | 114 |
Merged at revision: | 110 |
Proposed branch: | lp:~didrocks/unity-lens-music/add-conditional-activation |
Merge into: | lp:unity-lens-music |
Diff against target: |
71 lines (+30/-1) 3 files modified
configure.ac (+1/-1) src/musicstore-scope.vala (+14/-0) tests/manual/activation-remote-scope.txt (+15/-0) |
To merge this branch: | bzr merge lp:~didrocks/unity-lens-music/add-conditional-activation |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Michal Hruby (community) | Approve | ||
Review via email: mp+126395@code.launchpad.net |
Commit message
add conditional search activation to the remote scope (LP: #1054746)
Description of the change
add conditional search activation to the music remote scope (LP: #1054746)
Add manual test as for the rest of the lens.
To post a comment you must log in.
Looking good, two things though:
37 + message ("Unity shopping lens online search disabled.");
Drop the msg, it's not necessary, and would only cause console spam since it's logged with every search.
21 + private PreferencesManager preferences = PreferencesMana ger.get_ default ();
The scope should listen to changes on the remote_ content_ search property and call queue_search_ changed( ) to make the setting take effect immediately.