From 27465b57e6f643051da459e4b7dcbe0fd8691373 Mon Sep 17 00:00:00 2001 From: Jean-Francois Dockes Date: Mon, 11 Nov 2013 07:48:33 +0100 Subject: [PATCH] unity scope: need to use same cats as top files scope --- .../unity-scope-recoll/unity_recoll_daemon.py | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/src/desktop/unity-scope-recoll/unity_recoll_daemon.py b/src/desktop/unity-scope-recoll/unity_recoll_daemon.py index 0f60c426..21b5d95e 100755 --- a/src/desktop/unity-scope-recoll/unity_recoll_daemon.py +++ b/src/desktop/unity-scope-recoll/unity_recoll_daemon.py @@ -62,15 +62,23 @@ PROVIDER_ICON = SVG_DIR+'service-recoll.svg' DEFAULT_RESULT_ICON = 'recoll' DEFAULT_RESULT_TYPE = Unity.ResultType.PERSONAL -c1 = {'id': 'documents', - 'name': _('Documents'), +c0 = {'id': 'global', + 'name': _('File & Folders'), 'icon': SVG_DIR + 'group-installed.svg', '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'), 'icon': SVG_DIR + 'group-folders.svg', 'renderer': Unity.CategoryRenderer.VERTICAL_TILE} -CATEGORIES = [c1, c2] +CATEGORIES = [c0, c1, c2, c3] FILTERS = []