diff --git a/gramps/gui/plug/export/_exportassistant.py b/gramps/gui/plug/export/_exportassistant.py index e1f89da93..089b21664 100644 --- a/gramps/gui/plug/export/_exportassistant.py +++ b/gramps/gui/plug/export/_exportassistant.py @@ -160,6 +160,8 @@ class ExportAssistant(Gtk.Assistant, ManagedWindow) : label = Gtk.Label(label=self.get_intro_text()) label.set_line_wrap(True) label.set_use_markup(True) + if (Gtk.get_major_version(), Gtk.get_minor_version()) >= (3, 10): + label.set_max_width_chars(60) image = Gtk.Image() image.set_from_file(SPLASH) diff --git a/gramps/plugins/tool/mediamanager.py b/gramps/plugins/tool/mediamanager.py index 7b32d001d..4d1e5e2d3 100644 --- a/gramps/plugins/tool/mediamanager.py +++ b/gramps/plugins/tool/mediamanager.py @@ -211,6 +211,8 @@ class IntroductionPage(Gtk.VBox): label = Gtk.Label(label=self.__get_intro_text()) label.set_line_wrap(True) label.set_use_markup(True) + if (Gtk.get_major_version(), Gtk.get_minor_version()) >= (3, 10): + label.set_max_width_chars(60) self.pack_start(image, False, False, 0) self.pack_start(label, False, False, 5)