comparison cagou/core/constants.py @ 302:f55b60659ec1

core (about): improved "about" popup: - added some style - backend version and Cagou version are shown - host.version is now Cagou version, while host.backend_version is the one of the backend fix 312
author Goffi <goffi@goffi.org>
date Fri, 28 Jun 2019 13:02:11 +0200
parents 1b835bcfa663
children 772c170b47a9
comparison
equal deleted inserted replaced
301:86292cc41e81 302:f55b60659ec1
16 16
17 # You should have received a copy of the GNU Affero General Public License 17 # You should have received a copy of the GNU Affero General Public License
18 # along with this program. If not, see <http://www.gnu.org/licenses/>. 18 # along with this program. If not, see <http://www.gnu.org/licenses/>.
19 19
20 from sat_frontends.quick_frontend import constants 20 from sat_frontends.quick_frontend import constants
21 import cagou
21 22
22 23
23 class Const(constants.Const): 24 class Const(constants.Const):
24 APP_NAME = u"Cagou" 25 APP_NAME = u"Cagou"
26 APP_VERSION = cagou.__version__
25 LOG_OPT_SECTION = APP_NAME.lower() 27 LOG_OPT_SECTION = APP_NAME.lower()
26 CONFIG_SECTION = APP_NAME.lower() 28 CONFIG_SECTION = APP_NAME.lower()
27 WID_SELECTOR = u'selector' 29 WID_SELECTOR = u'selector'
28 ICON_SIZES = (u'small', u'medium') # small = 32, medium = 44 30 ICON_SIZES = (u'small', u'medium') # small = 32, medium = 44
29 DEFAULT_WIDGET_ICON = u'{media}/misc/black.png' 31 DEFAULT_WIDGET_ICON = u'{media}/misc/black.png'