~stolowski/unity-scope-home/phone-disable-filters

« back to all changes in this revision

Viewing changes to src/scope.vala

  • Committer: Pawel Stolowski
  • Date: 2013-10-01 10:05:52 UTC
  • Revision ID: pawel.stolowski@canonical.com-20131001100552-x2yum17ka9hwi6he
Act on review comments.

Show diffs side-by-side

added added

removed removed

Lines of Context:
616
616
    uint num_scopes = 0;
617
617
 
618
618
    bool flushing_enabled = false;
619
 
    string? form_factor = scope_search.search_context.search_metadata.form_factor;
 
619
    unowned string? form_factor = scope_search.search_context.search_metadata.form_factor;
620
620
    if (form_factor == null)
621
621
        form_factor = "unknown"; // set to 'unknown' as it's sent with smart scopes request
622
622
    bool disable_filter_updates = (form_factor != "desktop");