core, frontends (constants): frontends Const inheritates from core Const
This commit is contained in:
parent
57d26c8377
commit
8fa0b7b8c2
1 changed files with 30 additions and 27 deletions
|
|
@ -18,6 +18,7 @@
|
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
from sat.core import constants
|
||||
from sat.core.i18n import _, D_
|
||||
|
||||
try:
|
||||
|
|
@ -50,7 +51,8 @@ def getPresence():
|
|||
return presence
|
||||
|
||||
|
||||
class Const(object):
|
||||
class Const(constants.Const):
|
||||
|
||||
PRESENCE = getPresence()
|
||||
|
||||
MENU_NORMAL = "NORMAL"
|
||||
|
|
@ -60,8 +62,6 @@ class Const(object):
|
|||
SYNTAX_CURRENT = "@CURRENT@"
|
||||
SYNTAX_TEXT = "text"
|
||||
|
||||
NO_SECURITY_LIMIT = -1
|
||||
|
||||
# XMLUI
|
||||
SAT_FORM_PREFIX = "SAT_FORM_"
|
||||
SAT_PARAM_SEPARATOR = "_XMLUI_PARAM_" # used to have unique elements names
|
||||
|
|
|
|||
Loading…
Reference in a new issue