Add extra GrampsBar functionality.
svn: r16502
This commit is contained in:
@@ -445,7 +445,7 @@ class BasePersonView(ListView):
|
||||
"""
|
||||
Define the default gramplets for the sidebar and bottombar.
|
||||
"""
|
||||
return (("Welcome Gramplet",),
|
||||
return (("Person Filter Gramplet",),
|
||||
("Person Details Gramplet",
|
||||
"Person Gallery Gramplet",
|
||||
"Person Residence Gramplet",
|
||||
|
||||
@@ -420,5 +420,12 @@ class PlaceBaseView(ListView):
|
||||
else:
|
||||
return None
|
||||
|
||||
def get_default_gramplets(self):
|
||||
"""
|
||||
Define the default gramplets for the sidebar and bottombar.
|
||||
"""
|
||||
return (("Place Filter Gramplet",),
|
||||
())
|
||||
|
||||
def make_callback(func, val):
|
||||
return lambda x: func(val)
|
||||
|
||||
Reference in New Issue
Block a user