comparison 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
comparison
equal deleted inserted replaced
245:d535446fdf45 246:15e47bbb192c
43 43
44 Cagou is a libre communication tool based on libre standard XMPP. 44 Cagou is a libre communication tool based on libre standard XMPP.
45 45
46 Cagou is part of the "Salut à Toi" project 46 Cagou is part of the "Salut à Toi" project
47 more informations at [color=5500ff][ref=website]salut-a-toi.org[/ref][/color] 47 more informations at [color=5500ff][ref=website]salut-a-toi.org[/ref][/color]
48 """).format(version=C.APP_VERSION) 48 """)
49 49
50 50
51 class AboutContent(Label): 51 class AboutContent(Label):
52 52
53 def on_ref_press(self, value): 53 def on_ref_press(self, value):
162 self._buildMenus(self.menus_container, caller) 162 self._buildMenus(self.menus_container, caller)
163 163
164 def onAbout(self): 164 def onAbout(self):
165 about = AboutPopup() 165 about = AboutPopup()
166 about.title = ABOUT_TITLE 166 about.title = ABOUT_TITLE
167 about.content = AboutContent(text=ABOUT_CONTENT, markup=True) 167 about.content = AboutContent(text=ABOUT_CONTENT.format(version=G.host.version),
168 markup=True)
168 about.open() 169 about.open()
169 170
170 171
171 class TransferItem(BoxLayout): 172 class TransferItem(BoxLayout):
172 plug_info = properties.DictProperty() 173 plug_info = properties.DictProperty()