~stolowski/unity-lens-applications/no-uninstall-for-ubuntu-desktop

« back to all changes in this revision

Viewing changes to src/daemon.vala

  • Committer: Tarmac
  • Author(s): Michal Hruby
  • Date: 2012-03-12 14:36:49 UTC
  • mfrom: (270.2.1 unity-lens-applications)
  • Revision ID: tarmac-20120312143649-baioos1329i8vekr
Add missing brackets when constructing category query sent to FTS.. Fixes: https://bugs.launchpad.net/bugs/942878. Approved by Mikkel Kamstrup Erlandsen.

Show diffs side-by-side

added added

removed removed

Lines of Context:
602
602
        else result += " OR " + type_queries[type_id];
603
603
      }
604
604
 
605
 
      return result == null ? "NOT category:XYZ" : result;
 
605
      return result == null ? "NOT category:XYZ" : "(%s)".printf (result);
606
606
    }
607
607
    
608
608
    private string prepare_pkg_search_string (Unity.LensSearch search,