From bee0260af74e1263090442a12036451e8d024acc Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Fri, 12 Feb 2016 18:58:01 +0530 Subject: [PATCH] users: Use new setup mechanism --- plinth/modules/users/__init__.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/plinth/modules/users/__init__.py b/plinth/modules/users/__init__.py index 7cb738071..b7c6c8ca1 100644 --- a/plinth/modules/users/__init__.py +++ b/plinth/modules/users/__init__.py @@ -25,14 +25,19 @@ import subprocess from plinth import cfg from plinth import action_utils +version = 1 + +is_essential = True + depends = ['system'] +title = _('Users and Groups') + def init(): """Intialize the user module.""" menu = cfg.main_menu.get('system:index') - menu.add_urlname(_('Users and Groups'), 'glyphicon-user', 'users:index', - 15) + menu.add_urlname(title, 'glyphicon-user', 'users:index', 15) def diagnose():