From 097e04e8e50811ea5b83355eb4b9cea19e27f3ab Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Mon, 9 Oct 2006 23:54:23 +0000 Subject: [PATCH] 2006-10-09 Alex Roitman * src/FilterEditor/_FilterEditor.py (close): Allow more arguments. svn: r7380 --- gramps2/ChangeLog | 3 +++ gramps2/src/FilterEditor/_FilterEditor.py | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 3841080b9..2fdc5c470 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,6 @@ +2006-10-09 Alex Roitman + * src/FilterEditor/_FilterEditor.py (close): Allow more arguments. + 2006-10-09 Don Allingham * src/Selectors/_SelectPerson.py: enable toggle button to display all * src/glade/gramps.glade: add toggle button diff --git a/gramps2/src/FilterEditor/_FilterEditor.py b/gramps2/src/FilterEditor/_FilterEditor.py index 89886bfb5..408c3a154 100644 --- a/gramps2/src/FilterEditor/_FilterEditor.py +++ b/gramps2/src/FilterEditor/_FilterEditor.py @@ -128,12 +128,12 @@ class FilterEditor(ManagedWindow.ManagedWindow): self.delete.set_sensitive(False) self.test.set_sensitive(False) - def close(self,obj): + def close(self,*obj): self.filterdb.save() reload_custom_filters() reload_system_filters() self.uistate.emit('filters-changed',(self.space,)) - ManagedWindow.ManagedWindow.close(self,obj) + ManagedWindow.ManagedWindow.close(self,*obj) def draw_filters(self): self.clist.clear()