Merge lp:~voluntatefaber/slingshot/bug1127170 into lp:~elementary-pantheon/slingshot/trunk

Proposed by Andrea Basso
Status: Merged
Merged at revision: 336
Proposed branch: lp:~voluntatefaber/slingshot/bug1127170
Merge into: lp:~elementary-pantheon/slingshot/trunk
Diff against target: 22 lines (+3/-3)
1 file modified
src/SlingshotView.vala (+3/-3)
To merge this branch: bzr merge lp:~voluntatefaber/slingshot/bug1127170
Reviewer Review Type Date Requested Status
Cody Garver (community) Approve
Review via email: mp+148887@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Cody Garver (codygarver) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/SlingshotView.vala'
2--- src/SlingshotView.vala 2013-02-16 11:56:18 +0000
3+++ src/SlingshotView.vala 2013-02-16 16:32:37 +0000
4@@ -634,6 +634,7 @@
5 if (modality != Modality.SEARCH_VIEW)
6 set_modality (Modality.SEARCH_VIEW);
7 search_view_position = 0;
8+ view_manager.move (search_view, 0, search_view_position);
9 search_view.hide_all ();
10
11 var filtered = yield app_system.search_results (text);
12@@ -641,9 +642,8 @@
13 foreach (App app in filtered) {
14 search_view.show_app (app);
15 }
16-
17- if (filtered.size != 1)
18- search_view.add_command (text);
19+
20+ search_view.add_command (text);
21
22 }
23

Subscribers

People subscribed via source and target branches