Add default GrampsBar gramplets for new geography views

svn: r17262
This commit is contained in:
Nick Hall 2011-04-25 23:05:32 +00:00
parent fb5e367b2e
commit 63152be01a
4 changed files with 30 additions and 7 deletions

View File

@ -380,3 +380,9 @@ class GeoEvents(GeoGraphyView):
add_item.show()
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
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)
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()
menu.append(add_item)
def get_default_gramplets(self):
"""
Define the default gramplets for the sidebar and bottombar.
"""
return (("Place Filter Gramplet",),
())