> 175 + /* We want to display something once dash is shown */
> 176 + scope.queue_search_changed (SearchType.GLOBAL);
>
> I think this deserves a branch and bug report on its own.
Fair enough. Removing from this branch.
>
>
> 240 + if (cancellable.is_cancelled ()) throw new IOError.CANCELLED
> ("Cancelled");
>
> Can you add a more useful message, like "Cancelled locate search for '%s'" or
> something?
>
Actually I should be just using cancellable.set_error_if_cancelled()
>
> 242 + var results = yield Locate.locate (query, cancellable);
> 243 + results.sort (Utils.cmp_file_info_by_mtime);
>
> Should we not be checking cancellable before proceeding after the async call?
>
> 175 + /* We want to display something once dash is shown */ search_ changed (SearchType. GLOBAL) ;
> 176 + scope.queue_
>
> I think this deserves a branch and bug report on its own.
Fair enough. Removing from this branch.
> is_cancelled ()) throw new IOError.CANCELLED
>
> 240 + if (cancellable.
> ("Cancelled");
>
> Can you add a more useful message, like "Cancelled locate search for '%s'" or
> something?
>
Actually I should be just using cancellable. set_error_ if_cancelled( )
Moreover, daemon.vala:428:
} catch (IOError.CANCELLED ioe) {
return;
> cmp_file_ info_by_ mtime);
> 242 + var results = yield Locate.locate (query, cancellable);
> 243 + results.sort (Utils.
>
> Should we not be checking cancellable before proceeding after the async call?
>
No, an IOError is thrown in that case.