2410: (Missing) Generic filter on Exporter Assistant

svn: r11178
This commit is contained in:
Jérôme Rapinat 2008-10-21 08:53:22 +00:00
parent fe22dec736
commit a1b78d3155

View File

@ -116,6 +116,12 @@ class WriterOptionBox:
des.add_rule(Rules.Person.IsDescendantOf(
[self.person.get_gramps_id(), 1]))
df = GenericFilter()
df.set_name(_("Descendant Families of %s") %
name_displayer.display(self.person))
df.add_rule(Rules.Person.IsDescendantFamilyOf(
[self.person.get_gramps_id(), 1]))
ans = GenericFilter()
ans.set_name(_("Ancestors of %s")
% name_displayer.display(self.person))
@ -127,7 +133,7 @@ class WriterOptionBox:
name_displayer.display(self.person))
com.add_rule(Rules.Person.HasCommonAncestorWith(
[self.person.get_gramps_id()]))
return [des, ans, com]
return [des, df, ans, com]
def parse_options(self):
"""