Freeze headings when scrolling

svn: r23265
This commit is contained in:
Nick Hall 2013-10-07 22:02:49 +00:00
parent 6cffd52731
commit 0c135d3ae8
6 changed files with 6 additions and 6 deletions

View File

@ -32,7 +32,7 @@ class Attributes(Gramplet):
def init(self): def init(self):
self.gui.WIDGET = self.build_gui() self.gui.WIDGET = self.build_gui()
self.gui.get_container_widget().remove(self.gui.textview) 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.gui.WIDGET.show()
def build_gui(self): def build_gui(self):

View File

@ -34,7 +34,7 @@ class Backlinks(Gramplet):
def init(self): def init(self):
self.gui.WIDGET = self.build_gui() self.gui.WIDGET = self.build_gui()
self.gui.get_container_widget().remove(self.gui.textview) 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.gui.WIDGET.show()
def build_gui(self): def build_gui(self):

View File

@ -36,7 +36,7 @@ class Children(Gramplet):
def init(self): def init(self):
self.gui.WIDGET = self.build_gui() self.gui.WIDGET = self.build_gui()
self.gui.get_container_widget().remove(self.gui.textview) 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.gui.WIDGET.show()
self.uistate.connect('nameformat-changed', self.update) self.uistate.connect('nameformat-changed', self.update)

View File

@ -40,7 +40,7 @@ class Citations(Gramplet, DbGUIElement):
def init(self): def init(self):
self.gui.WIDGET = self.build_gui() self.gui.WIDGET = self.build_gui()
self.gui.get_container_widget().remove(self.gui.textview) 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.gui.WIDGET.show()
def _connect_db_signals(self): def _connect_db_signals(self):

View File

@ -35,7 +35,7 @@ class Events(Gramplet):
def init(self): def init(self):
self.gui.WIDGET = self.build_gui() self.gui.WIDGET = self.build_gui()
self.gui.get_container_widget().remove(self.gui.textview) 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.gui.WIDGET.show()
def build_gui(self): def build_gui(self):

View File

@ -35,7 +35,7 @@ class PersonResidence(Gramplet):
def init(self): def init(self):
self.gui.WIDGET = self.build_gui() self.gui.WIDGET = self.build_gui()
self.gui.get_container_widget().remove(self.gui.textview) 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.gui.WIDGET.show()
def build_gui(self): def build_gui(self):