Merge lp:~njpatel/unity-lens-files/fix-initial-results into lp:unity-lens-files

Proposed by Neil J. Patel
Status: Merged
Merged at revision: 182
Proposed branch: lp:~njpatel/unity-lens-files/fix-initial-results
Merge into: lp:unity-lens-files
Diff against target: 16 lines (+1/-5)
1 file modified
src/utils.vala (+1/-5)
To merge this branch: bzr merge lp:~njpatel/unity-lens-files/fix-initial-results
Reviewer Review Type Date Requested Status
Mikkel Kamstrup Erlandsen (community) Approve
Review via email: mp+74505@code.launchpad.net

Description of the change

Fixes initial results for the lens (as old_search will be null).

To post a comment you must log in.
Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

Discussed on IRC

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/utils.vala'
2--- src/utils.vala 2011-08-04 15:26:32 +0000
3+++ src/utils.vala 2011-09-07 19:44:49 +0000
4@@ -368,11 +368,7 @@
5
6 if (old_search == null)
7 {
8- s1 = new_search.search_string;
9- if (s1 == null || s1.strip() == "")
10- return false;
11- else
12- return true;
13+ return true;
14 }
15 else if (new_search == null)
16 {

Subscribers

People subscribed via source and target branches