From 81202f701c7c0e27135b89a9238ca37df71cc2ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Tue, 7 Oct 2008 16:35:51 +0000 Subject: [PATCH] #2410: (Missing) Generic filter on Exporter Assistant. svn: r11128 --- src/ExportOptions.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/ExportOptions.py b/src/ExportOptions.py index f327fa19f..3190e22d1 100644 --- a/src/ExportOptions.py +++ b/src/ExportOptions.py @@ -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): """