Mercurial > libervia-desktop-kivy
diff cagou/core/menu.py @ 246:15e47bbb192c
about: show full version of SàT
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 04 Jan 2019 13:20:29 +0100 |
parents | a676cb07c1cb |
children | 1b835bcfa663 |
line wrap: on
line diff
--- a/cagou/core/menu.py Thu Jan 03 20:44:07 2019 +0100 +++ b/cagou/core/menu.py Fri Jan 04 13:20:29 2019 +0100 @@ -45,7 +45,7 @@ Cagou is part of the "Salut à Toi" project more informations at [color=5500ff][ref=website]salut-a-toi.org[/ref][/color] -""").format(version=C.APP_VERSION) +""") class AboutContent(Label): @@ -164,7 +164,8 @@ def onAbout(self): about = AboutPopup() about.title = ABOUT_TITLE - about.content = AboutContent(text=ABOUT_CONTENT, markup=True) + about.content = AboutContent(text=ABOUT_CONTENT.format(version=G.host.version), + markup=True) about.open()