Switch to unified view

a/src/desktop/unity-lens-recoll/bin/unity-recoll-daemon.in b/src/desktop/unity-lens-recoll/bin/unity-recoll-daemon.in
...
...
60
                                     Unity.CategoryRenderer.HORIZONTAL_TILE))
60
                                     Unity.CategoryRenderer.HORIZONTAL_TILE))
61
    lens.props.categories = cats
61
    lens.props.categories = cats
62
    
62
    
63
63
64
    # Populate filters
64
    # Populate filters
65
  lens.props.filters = []
65
        filters = []
66
66
67
        # We should get the categories from the config but the python
67
        # We should get the categories from the config but the python
68
        # module currently has no code for this.
68
        # module currently has no code for this. CheckOption or RadioOption?
69
    filter = Unity.RadioOptionFilter.new("rclcat", "Category",
69
    filter = Unity.RadioOptionFilter.new("rclcat", "Category",
70
                                             Gio.ThemedIcon.new(""), False)
70
                Gio.ThemedIcon.new("input-keyboard-symbolic"), False)
71
71
72
        filter.add_option("text", "Text", None);
72
        filter.add_option("text", "Text", None);
73
        filter.add_option("spreadsheet", "Spreadsheet", None);
73
        filter.add_option("spreadsheet", "Spreadsheet", None);
74
        filter.add_option("presentation", "Presentation", None);
74
        filter.add_option("presentation", "Presentation", None);
75
        filter.add_option("media", "Media", None);
75
        filter.add_option("media", "Media", None);
76
        filter.add_option("message", "Message", None);
76
        filter.add_option("message", "Message", None);
77
        filter.add_option("other", "Other", None);
77
        filter.add_option("other", "Other", None);
78
78
79
        lens.props.filters.append(filter)
79
        filters.append(filter)
80
81
        lens.props.filters = filters
80
    return lens
82
    return lens
81
83
82
lens = create_lens ()
84
lens = create_lens ()
83
lens.add_local_scope (recollscope.rclsearch.Scope())
85
lens.add_local_scope (recollscope.rclsearch.Scope())
84
# add more local scopes here (remote dbus scopes added automagically)
86
# add more local scopes here (remote dbus scopes added automagically)