Merge lp://qastaging/~mhr3/libunity/search-on-view into lp://qastaging/libunity
Proposed by
Michal Hruby
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Didier Roche-Tolomelli | ||||
Approved revision: | 125 | ||||
Merged at revision: | 124 | ||||
Proposed branch: | lp://qastaging/~mhr3/libunity/search-on-view | ||||
Merge into: | lp://qastaging/libunity | ||||
Diff against target: |
89 lines (+41/-1) 3 files modified
src/unity-scope-factory.vala (+1/-0) src/unity-scope.vala (+10/-0) test/vala/test-lens.vala (+30/-1) |
||||
To merge this branch: | bzr merge lp://qastaging/~mhr3/libunity/search-on-view | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Didier Roche-Tolomelli | Approve | ||
Review via email:
|
Commit message
Queue a global search when scope is initialized
Description of the change
Unity currently doesn't send a GlobalSearch() call with empty search string to the lenses when the dash is shown, and this causes that for example files lens doesn't display anything until you search for something. But it does send a SetViewType() call, so this branch queues an empty search on init so results will be displayed when the dash is shown.
Added test to make sure initial SetViewCall() fires a search.
UNBLOCK
To post a comment you must log in.
Looks good and all tests pass. Approving!