Merge lp:~njpatel/unity/remove-initial-result-hacks into lp:unity

Proposed by Neil J. Patel on 2011-09-07
Status: Merged
Approved by: Mirco Müller on 2011-09-08
Approved revision: 1503
Merged at revision: 1515
Proposed branch: lp:~njpatel/unity/remove-initial-result-hacks
Merge into: lp:unity
Diff against target: 17 lines (+0/-7)
1 file modified
plugins/unityshell/src/LensView.cpp (+0/-7)
To merge this branch: bzr merge lp:~njpatel/unity/remove-initial-result-hacks
Reviewer Review Type Date Requested Status
Mirco Müller (community) 2011-09-07 Approve on 2011-09-08
Review via email: mp+74509@code.launchpad.net

Description of the change

Remove the hacks I added to work around missing initial results.

To post a comment you must log in.
Mirco Müller (macslow) wrote :

These all-red proposals are the best :)

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'plugins/unityshell/src/LensView.cpp'
--- plugins/unityshell/src/LensView.cpp 2011-09-02 03:40:15 +0000
+++ plugins/unityshell/src/LensView.cpp 2011-09-07 20:06:53 +0000
@@ -161,13 +161,6 @@
161 group->SetChildView(grid);161 group->SetChildView(grid);
162162
163 scroll_layout_->AddView(group, 0);163 scroll_layout_->AddView(group, 0);
164
165 Categories::Ptr categories = lens_->categories;
166 if (category.index + 1 == categories->count())
167 {
168 lens_->Search("---");
169 lens_->Search("");
170 }
171}164}
172165
173void LensView::OnResultAdded(Result const& result)166void LensView::OnResultAdded(Result const& result)