~ubuntu-branches/ubuntu/oneiric/unity-lens-music/oneiric

« back to all changes in this revision

Viewing changes to src/filter-parser.vala

  • Committer: Package Import Robot
  • Author(s): Didier Roche
  • Date: 2011-09-08 20:12:26 UTC
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: package-import@ubuntu.com-20110908201226-f7osm37t76m8quc4
Tags: upstream-0.1.4
ImportĀ upstreamĀ versionĀ 0.1.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
using GLib;
21
21
 
22
22
namespace Unity.MusicLens {
23
 
 
 
23
  
24
24
  public class FilterParser : Object
25
25
  {
26
26
    private Genre map;
27
27
    private Filter _filter;
28
 
 
 
28
    
29
29
    public string Id { get { return _filter.id; } }
30
30
 
31
31
    public FilterParser (Filter filter)
67
67
      builder.truncate (builder.len - (" OR ".length));
68
68
      builder.prepend ("(");
69
69
      builder.append (")");
 
70
     
70
71
      return builder.str;
71
72
    }
72
73