From 060eed99c60c21bf8d20dce99146eab53e1ff4e8 Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Mon, 7 Oct 2013 22:03:42 +0000 Subject: [PATCH] Freeze headings when scrolling svn: r23267 --- gramps/plugins/gramplet/attributes.py | 2 +- gramps/plugins/gramplet/backlinks.py | 2 +- gramps/plugins/gramplet/children.py | 2 +- gramps/plugins/gramplet/citations.py | 2 +- gramps/plugins/gramplet/events.py | 2 +- gramps/plugins/gramplet/personresidence.py | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/gramps/plugins/gramplet/attributes.py b/gramps/plugins/gramplet/attributes.py index 9d2ec3003..b8e3f03ef 100644 --- a/gramps/plugins/gramplet/attributes.py +++ b/gramps/plugins/gramplet/attributes.py @@ -33,7 +33,7 @@ class Attributes(Gramplet): def init(self): self.gui.WIDGET = self.build_gui() self.gui.get_container_widget().remove(self.gui.textview) - self.gui.get_container_widget().add_with_viewport(self.gui.WIDGET) + self.gui.get_container_widget().add(self.gui.WIDGET) self.gui.WIDGET.show() def build_gui(self): diff --git a/gramps/plugins/gramplet/backlinks.py b/gramps/plugins/gramplet/backlinks.py index a73e2103f..d7ebcf2de 100644 --- a/gramps/plugins/gramplet/backlinks.py +++ b/gramps/plugins/gramplet/backlinks.py @@ -35,7 +35,7 @@ class Backlinks(Gramplet): def init(self): self.gui.WIDGET = self.build_gui() self.gui.get_container_widget().remove(self.gui.textview) - self.gui.get_container_widget().add_with_viewport(self.gui.WIDGET) + self.gui.get_container_widget().add(self.gui.WIDGET) self.gui.WIDGET.show() def build_gui(self): diff --git a/gramps/plugins/gramplet/children.py b/gramps/plugins/gramplet/children.py index 5a3912a40..3809c5218 100644 --- a/gramps/plugins/gramplet/children.py +++ b/gramps/plugins/gramplet/children.py @@ -37,7 +37,7 @@ class Children(Gramplet): def init(self): self.gui.WIDGET = self.build_gui() self.gui.get_container_widget().remove(self.gui.textview) - self.gui.get_container_widget().add_with_viewport(self.gui.WIDGET) + self.gui.get_container_widget().add(self.gui.WIDGET) self.gui.WIDGET.show() self.uistate.connect('nameformat-changed', self.update) diff --git a/gramps/plugins/gramplet/citations.py b/gramps/plugins/gramplet/citations.py index 15f577b05..67c235e3a 100644 --- a/gramps/plugins/gramplet/citations.py +++ b/gramps/plugins/gramplet/citations.py @@ -41,7 +41,7 @@ class Citations(Gramplet, DbGUIElement): def init(self): self.gui.WIDGET = self.build_gui() self.gui.get_container_widget().remove(self.gui.textview) - self.gui.get_container_widget().add_with_viewport(self.gui.WIDGET) + self.gui.get_container_widget().add(self.gui.WIDGET) self.gui.WIDGET.show() def _connect_db_signals(self): diff --git a/gramps/plugins/gramplet/events.py b/gramps/plugins/gramplet/events.py index ef10e0ddb..f905134ae 100644 --- a/gramps/plugins/gramplet/events.py +++ b/gramps/plugins/gramplet/events.py @@ -40,7 +40,7 @@ class Events(Gramplet): def init(self): self.gui.WIDGET = self.build_gui() self.gui.get_container_widget().remove(self.gui.textview) - self.gui.get_container_widget().add_with_viewport(self.gui.WIDGET) + self.gui.get_container_widget().add(self.gui.WIDGET) self.gui.WIDGET.show() def build_gui(self): diff --git a/gramps/plugins/gramplet/personresidence.py b/gramps/plugins/gramplet/personresidence.py index d140c944d..5dcf4e65f 100644 --- a/gramps/plugins/gramplet/personresidence.py +++ b/gramps/plugins/gramplet/personresidence.py @@ -36,7 +36,7 @@ class PersonResidence(Gramplet): def init(self): self.gui.WIDGET = self.build_gui() self.gui.get_container_widget().remove(self.gui.textview) - self.gui.get_container_widget().add_with_viewport(self.gui.WIDGET) + self.gui.get_container_widget().add(self.gui.WIDGET) self.gui.WIDGET.show() def build_gui(self):