unity scope: need to use same cats as top files scope
This commit is contained in:
parent
8b3952b7d4
commit
27465b57e6
@ -62,15 +62,23 @@ PROVIDER_ICON = SVG_DIR+'service-recoll.svg'
|
|||||||
DEFAULT_RESULT_ICON = 'recoll'
|
DEFAULT_RESULT_ICON = 'recoll'
|
||||||
DEFAULT_RESULT_TYPE = Unity.ResultType.PERSONAL
|
DEFAULT_RESULT_TYPE = Unity.ResultType.PERSONAL
|
||||||
|
|
||||||
c1 = {'id': 'documents',
|
c0 = {'id': 'global',
|
||||||
'name': _('Documents'),
|
'name': _('File & Folders'),
|
||||||
'icon': SVG_DIR + 'group-installed.svg',
|
'icon': SVG_DIR + 'group-installed.svg',
|
||||||
'renderer': Unity.CategoryRenderer.VERTICAL_TILE}
|
'renderer': Unity.CategoryRenderer.VERTICAL_TILE}
|
||||||
c2 = {'id': 'folders',
|
c1 = {'id': 'recent',
|
||||||
|
'name': _('Recent'),
|
||||||
|
'icon': SVG_DIR + 'group-installed.svg',
|
||||||
|
'renderer': Unity.CategoryRenderer.VERTICAL_TILE}
|
||||||
|
c2 = {'id': 'download',
|
||||||
|
'name': _('Download'),
|
||||||
|
'icon': SVG_DIR + 'group-folders.svg',
|
||||||
|
'renderer': Unity.CategoryRenderer.VERTICAL_TILE}
|
||||||
|
c3 = {'id': 'folders',
|
||||||
'name': _('Folders'),
|
'name': _('Folders'),
|
||||||
'icon': SVG_DIR + 'group-folders.svg',
|
'icon': SVG_DIR + 'group-folders.svg',
|
||||||
'renderer': Unity.CategoryRenderer.VERTICAL_TILE}
|
'renderer': Unity.CategoryRenderer.VERTICAL_TILE}
|
||||||
CATEGORIES = [c1, c2]
|
CATEGORIES = [c0, c1, c2, c3]
|
||||||
|
|
||||||
FILTERS = []
|
FILTERS = []
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user