diff sat_frontends/primitivus/constants.py @ 3487:75427f0a5445

primivitus: updated constants following global renaming, config section is now `tui` instead of `primitivus`
author Goffi <goffi@goffi.org>
date Sun, 21 Mar 2021 18:16:52 +0100
parents be6d91572633
children
line wrap: on
line diff
--- 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"