#2410: (Missing) Generic filter on Exporter Assistant.

svn: r11128
This commit is contained in:
Jérôme Rapinat 2008-10-07 16:35:51 +00:00
parent c1521c5e55
commit 81202f701c

View File

@ -148,6 +148,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))
@ -159,7 +165,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):
"""