comparison libervia/desktop_kivy/core/cagou_main.py @ 518:196483685a63 default tip

Use Font-Awesome instead of Fontello, following change in Libervia Media.
author Goffi <goffi@goffi.org>
date Sat, 26 Oct 2024 22:44:37 +0200
parents 2ff26b4273df
children
comparison
equal deleted inserted replaced
517:f316c7f19909 518:196483685a63
136 message = properties.StringProperty() 136 message = properties.StringProperty()
137 level = properties.OptionProperty(C.XMLUI_DATA_LVL_DEFAULT, 137 level = properties.OptionProperty(C.XMLUI_DATA_LVL_DEFAULT,
138 options=list(C.XMLUI_DATA_LVLS)) 138 options=list(C.XMLUI_DATA_LVLS))
139 symbol = properties.StringProperty() 139 symbol = properties.StringProperty()
140 action = properties.ObjectProperty() 140 action = properties.ObjectProperty()
141 level2symbol = {
142 C.XMLUI_DATA_LVL_INFO: "circle-info",
143 C.XMLUI_DATA_LVL_WARNING: "triangle-exclamation",
144 C.XMLUI_DATA_LVL_ERROR: "circle-exclamation"
145 }
141 146
142 def on_press(self): 147 def on_press(self):
143 if self.action is not None: 148 if self.action is not None:
144 self.parent.parent.select(self.action) 149 self.parent.parent.select(self.action)
145 150