changeset 2035:5c6db4329288

core (constants): added XMLUI_DATA_LVLS constants which group all available levels
author Goffi <goffi@goffi.org>
date Sun, 21 Aug 2016 12:03:34 +0200
parents 3f745370a39a
children db3bbbd745e4
files src/core/constants.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/core/constants.py	Wed Aug 10 23:23:48 2016 +0200
+++ b/src/core/constants.py	Sun Aug 21 12:03:34 2016 +0200
@@ -190,6 +190,7 @@
     XMLUI_DATA_LVL_WARNING = "warning"
     XMLUI_DATA_LVL_ERROR = "error"
     XMLUI_DATA_LVL_DEFAULT = XMLUI_DATA_LVL_INFO
+    XMLUI_DATA_LVLS = (XMLUI_DATA_LVL_INFO, XMLUI_DATA_LVL_WARNING, XMLUI_DATA_LVL_ERROR)
     XMLUI_DATA_BTNS_SET = "buttons_set"
     XMLUI_DATA_BTNS_SET_OKCANCEL = "ok/cancel"
     XMLUI_DATA_BTNS_SET_YESNO = "yes/no"