Add default GrampsBar gramplets for new geography views

svn: r17263
This commit is contained in:
Nick Hall 2011-04-25 23:06:33 +00:00
parent 201c78e6c2
commit 5065f3ae25
4 changed files with 30 additions and 7 deletions

View File

@ -380,3 +380,9 @@ class GeoEvents(GeoGraphyView):
add_item.show() add_item.show()
menu.append(add_item) menu.append(add_item)
def get_default_gramplets(self):
"""
Define the default gramplets for the sidebar and bottombar.
"""
return (("Event Filter Gramplet",),
())

View File

@ -428,3 +428,9 @@ class GeoFamily(GeoGraphyView):
""" """
return return
def get_default_gramplets(self):
"""
Define the default gramplets for the sidebar and bottombar.
"""
return (("Family Filter Gramplet",),
())

View File

@ -429,3 +429,9 @@ class GeoPerson(GeoGraphyView):
menu.append(add_item) menu.append(add_item)
return return
def get_default_gramplets(self):
"""
Define the default gramplets for the sidebar and bottombar.
"""
return (("Person Filter Gramplet",),
())

View File

@ -324,4 +324,9 @@ class GeoPlaces(GeoGraphyView):
add_item.show() add_item.show()
menu.append(add_item) menu.append(add_item)
def get_default_gramplets(self):
"""
Define the default gramplets for the sidebar and bottombar.
"""
return (("Place Filter Gramplet",),
())