Merge lp:~dobey/unity-scope-click/finite-search into lp:unity-scope-click

Proposed by dobey
Status: Merged
Approved by: dobey
Approved revision: 65
Merged at revision: 73
Proposed branch: lp:~dobey/unity-scope-click/finite-search
Merge into: lp:unity-scope-click
Diff against target: 22 lines (+2/-3)
1 file modified
src/click-scope.vala (+2/-3)
To merge this branch: bzr merge lp:~dobey/unity-scope-click/finite-search
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Approve
Michal Hruby (community) Approve
dobey (community) Abstain
Review via email: mp+189963@code.launchpad.net

Commit message

Only invalidate the results in the timeout, to avoid constant refreshing of the search.

To post a comment you must log in.
63. By dobey

[ Alejandro J. Cura ]
* Pass the publisher field if available to the app preview. (LP:
  #1226265)
* Include the framework in the search query. (LP: #1234255)
* Catch more download errors, and ask for credentials on 401. (LP:
  #1234742)
[ Ubuntu daily release ]
* Automatic snapshot from revision 70
[ Alejandro J. Cura ]
* Do not show suggested apps when internet search is off. (LP:
  #1231378)
* Don't show Uninstall button if manifest has _removable:0, and remove
  pin-to-launcher. (LP: #1233641, #1233653)
* Show download manager failures. (LP: #1226021)
* Ask for confirmation before uninstall . (LP: #1233643)
[ Rodney Dawes ]
* Remove the fake ratings and reviews data from the app previews. (LP:
  #1209213)
* Remove the noauth=1 appendage to the URL.
* Refactor the error handling, to separate credentials errors from
  other errors. Show a "Go to Accounts" button in the credentials
  error preview. (LP: #1231517)
* Don't add the Install button, if there was an error. (LP: #1233169)
[ Ubuntu daily release ]
* Automatic snapshot from revision 66

Revision history for this message
dobey (dobey) :
review: Abstain
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

FAILED: Continuous integration, rev:63
No commit message was specified in the merge proposal. Click on the following link and set the commit message (if you want a jenkins rebuild you need to trigger it yourself):
https://code.launchpad.net/~dobey/unity-scope-click/finite-search/+merge/189963/+edit-commit-message

http://jenkins.qa.ubuntu.com/job/unity-scope-click-ci/95/
Executed test runs:
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity-scope-click-saucy-amd64-ci/95
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity-scope-click-saucy-armhf-ci/89

Click here to trigger a rebuild:
http://10.97.0.26:8080/job/unity-scope-click-ci/95/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
Michal Hruby (mhr3) wrote :

9 + parent_scope.results_invalidated(Unity.SearchType.GLOBAL);

The click store apps are not supposed to be shown in home(/global) searches, so there's no need to invalidate it.

review: Needs Fixing
64. By dobey

Don't invalidate the global search type, as we don't appear there anyway.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Michal Hruby (mhr3) wrote :

26 return false;

Pls add app_search_id = 0; before the return.

65. By dobey

sigh.

Revision history for this message
Michal Hruby (mhr3) wrote :

Looks good.

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/click-scope.vala'
2--- src/click-scope.vala 2013-10-08 01:37:39 +0000
3+++ src/click-scope.vala 2013-10-09 14:05:17 +0000
4@@ -388,7 +388,8 @@
5 GLib.Source.remove (app_search_id);
6 }
7 app_search_id = GLib.Timeout.add_seconds (10, () => {
8- find_available_apps.begin (search_query);
9+ parent_scope.results_invalidated(Unity.SearchType.DEFAULT);
10+ app_search_id = 0;
11 return false;
12 });
13 }
14@@ -408,8 +409,6 @@
15 add_app (app, CATEGORY_SUGGESTIONS);
16 }
17 }
18- parent_scope.results_invalidated(Unity.SearchType.GLOBAL);
19- parent_scope.results_invalidated(Unity.SearchType.DEFAULT);
20 } catch (WebserviceError e) {
21 debug ("Error calling webservice: %s", e.message);
22 setup_find_apps_timeout (search_query);

Subscribers

People subscribed via source and target branches

to all changes: