changeset 2155e8c720db in tryton:default
details: https://hg.tryton.org/tryton?cmd=changeset;node=2155e8c720db
description:
Replace set_homogeneous by Gtk.Grid equivalent
The container is a Gtk.Grid and no more a Gtk.Table since issue8139
issue8423
review263721002
diffstat:
tryton/gui/window/view_board/view_board.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (14 lines):
diff -r 02574ae24a1d -r 2155e8c720db tryton/gui/window/view_board/view_board.py
--- a/tryton/gui/window/view_board/view_board.py Thu Jun 20 23:18:17
2019 +0200
+++ b/tryton/gui/window/view_board/view_board.py Thu Jun 20 23:19:41
2019 +0200
@@ -114,7 +114,9 @@
def _parse_group(self, node, container, attributes):
group = self.parse(node)
- group.container.set_homogeneous(attributes.get('homogeneous', False))
+ homogeneous = bool(attributes.get('homogeneous', False))
+ group.container.set_column_homogeneous(homogeneous)
+ group.container.set_row_homogeneous(homogeneous)
frame = Gtk.Frame()
frame.set_label(attributes.get('string'))
if not attributes.get('string'):