Mercurial > libervia-desktop-kivy
diff cagou/core/profile_manager.py @ 305:b2727877bad4
remote: fixed workflow and size for XMLUI panel used with Ad-Hoc commands:
the XMLUI panel was added to the StackLayout used for discovery, resulting in a bad
sizing. This patch fixes this by moving discovery panel to a new widget, and adding a main
BoxLayout where the XMLUI panel are added.
The XMLUI close callback is now handled properly.
fix 325
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 19 Jul 2019 17:13:05 +0200 |
parents | ca4daced4638 |
children | 772c170b47a9 |
line wrap: on
line diff
--- a/cagou/core/profile_manager.py Wed Jul 10 08:38:39 2019 +0200 +++ b/cagou/core/profile_manager.py Fri Jul 19 17:13:05 2019 +0200 @@ -142,7 +142,7 @@ self.add_widget(self.screen_manager) self.bind(selected=self.onProfileSelect) - def closeUI(self, xmlui): + def closeUI(self, xmlui, reason=None): self.screen_manager.transition.direction = 'right' self.screen_manager.current = 'profiles'