# HG changeset patch # User Goffi # Date 1616347012 -3600 # Node ID 75427f0a54450da2815739044fcd2f458c749d78 # Parent c9703067c700ac28129414d04725dfdc027583b2 primivitus: updated constants following global renaming, config section is now `tui` instead of `primitivus` diff -r c9703067c700 -r 75427f0a5445 sat_frontends/primitivus/constants.py --- a/sat_frontends/primitivus/constants.py Sun Mar 21 18:16:09 2021 +0100 +++ b/sat_frontends/primitivus/constants.py Sun Mar 21 18:16:52 2021 +0100 @@ -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 @@ 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 @@ "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"