diff --git a/gramps/plugins/gramplet/fanchart2waygramplet.py b/gramps/plugins/gramplet/fanchart2waygramplet.py index 2666a61ea..1d8a1c553 100644 --- a/gramps/plugins/gramplet/fanchart2waygramplet.py +++ b/gramps/plugins/gramplet/fanchart2waygramplet.py @@ -70,7 +70,7 @@ class FanChart2WayGramplet(FanChart2WayGrampsGUI, Gramplet): self.on_popup)) # Replace the standard textview with the fan chart widget: self.gui.get_container_widget().remove(self.gui.textview) - self.gui.get_container_widget().add_with_viewport(self.fan) + self.gui.get_container_widget().add(self.fan) # Make sure it is visible: self.fan.show() diff --git a/gramps/plugins/view/fanchart2wayview.py b/gramps/plugins/view/fanchart2wayview.py index d536b37cd..37f815063 100644 --- a/gramps/plugins/view/fanchart2wayview.py +++ b/gramps/plugins/view/fanchart2wayview.py @@ -135,7 +135,7 @@ class FanChart2WayView(fanchart2way.FanChart2WayGrampsGUI, NavigationView): self.scrolledwindow.set_policy(Gtk.PolicyType.AUTOMATIC, Gtk.PolicyType.AUTOMATIC) self.fan.show_all() - self.scrolledwindow.add_with_viewport(self.fan) + self.scrolledwindow.add(self.fan) return self.scrolledwindow