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
1=== modified file 'plugins/unityshell/src/LensView.cpp'
2--- plugins/unityshell/src/LensView.cpp 2011-09-02 03:40:15 +0000
3+++ plugins/unityshell/src/LensView.cpp 2011-09-07 20:06:53 +0000
4@@ -161,13 +161,6 @@
5 group->SetChildView(grid);
6
7 scroll_layout_->AddView(group, 0);
8-
9- Categories::Ptr categories = lens_->categories;
10- if (category.index + 1 == categories->count())
11- {
12- lens_->Search("---");
13- lens_->Search("");
14- }
15 }
16
17 void LensView::OnResultAdded(Result const& result)