core, frontends (constants): frontends Const inheritates from core Const

This commit is contained in:
souliane 2014-04-01 16:27:59 +02:00
commit 8fa0b7b8c2

View file

@ -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