From 9c508de5fdc23e428f0fbb262fad20b78b9f5994 Mon Sep 17 00:00:00 2001 From: SNoiraud Date: Sun, 6 May 2018 13:07:53 +0200 Subject: [PATCH] Export options > Gui alignment issue Fixes #10576 --- gramps/gui/plug/export/_exportoptions.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gramps/gui/plug/export/_exportoptions.py b/gramps/gui/plug/export/_exportoptions.py index 3dcbc3d66..063e4ab4b 100644 --- a/gramps/gui/plug/export/_exportoptions.py +++ b/gramps/gui/plug/export/_exportoptions.py @@ -436,8 +436,11 @@ class WriterOptionBox: widget2 = self.proxy_widget[proxy2] parent1 = widget1.get_parent() parent2 = widget2.get_parent() - widget1.reparent(parent2) - widget2.reparent(parent1) + # widget reparent is deprecated from Gtk 3.14. use remove then add. + parent1.remove(widget1) + parent2.remove(widget2) + parent1.add(widget2) + parent2.add(widget1) self.swap_proxy_order(row1, row2) self.mark_dirty(widget)