primivitus: updated constants following global renaming, config section is now tui instead of primitivus

This commit is contained in:
Goffi 2021-03-21 18:16:52 +01:00
commit 8768429efc

View file

@ -1,6 +1,5 @@
#!/usr/bin/env python3
# Primitivus: a SAT frontend
# Copyright (C) 2009-2021 Jérôme Poisson (goffi@goffi.org)
@ -22,8 +21,11 @@ from sat_frontends.quick_frontend import constants
class Const(constants.Const):
APP_NAME = "Primitivus"
SECTION_NAME = APP_NAME.lower()
APP_NAME = "Libervia TUI"
APP_COMPONENT = "TUI"
APP_NAME_ALT = "Primitivus"
APP_NAME_FILE = "libervia_tui"
CONFIG_SECTION = APP_COMPONENT.lower()
PALETTE = [
("title", "black", "light gray", "standout,underline"),
("title_focus", "white,bold", "light gray", "standout,underline"),
@ -95,8 +97,6 @@ class Const(constants.Const):
"output",
constants.Const.LOG_OPT_OUTPUT_SEP + constants.Const.LOG_OPT_OUTPUT_MEMORY,
)
CONFIG_SECTION = APP_NAME.lower()
CONFIG_OPT_KEY_PREFIX = "KEY_"
MENU_ID_MAIN = "MAIN_MENU"