Merge lp:~mardy/unity-scope-gdrive/lp1059492 into lp:unity-scope-gdrive

Proposed by Alberto Mardegan
Status: Merged
Approved by: Alberto Mardegan
Approved revision: 21
Merged at revision: 21
Proposed branch: lp:~mardy/unity-scope-gdrive/lp1059492
Merge into: lp:unity-scope-gdrive
Diff against target: 12 lines (+2/-0)
1 file modified
unity-scope-gdocs (+2/-0)
To merge this branch: bzr merge lp:~mardy/unity-scope-gdrive/lp1059492
Reviewer Review Type Date Requested Status
Ken VanDine Approve
Review via email: mp+128471@code.launchpad.net

Description of the change

Immediately sync the cleared model.

This avoid leaving old results in the dash.

To post a comment you must log in.
Revision history for this message
Ken VanDine (ken-vandine) wrote :

Looks good

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'unity-scope-gdocs'
2--- unity-scope-gdocs 2012-09-27 09:05:10 +0000
3+++ unity-scope-gdocs 2012-10-08 11:38:31 +0000
4@@ -79,6 +79,8 @@
5 search_string = search.props.search_string
6 results = search.props.results_model
7 results.clear()
8+ # Flush the results
9+ results.flush_revision_queue()
10
11 if self._preferences.props.remote_content_search != Unity.PreferencesManagerRemoteContent.ALL:
12 search.emit("finished")

Subscribers

People subscribed via source and target branches