diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 9b790685c..43cf00e96 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,6 +1,8 @@ 2006-01-16 Alex Roitman * src/GenericFilter.py (IsLessThanNthGenerationAncestorOfBookmarked): Typo. + * src/EditPlace.py, src/EditSource.py, src/ImageSelect.py: Provide + default value for the second argument on close(). 2006-01-15 Don Allingham * src/RelLib.py: improve Event is_equal method diff --git a/gramps2/src/EditPlace.py b/gramps2/src/EditPlace.py index 9c4911d13..091282239 100644 --- a/gramps2/src/EditPlace.py +++ b/gramps2/src/EditPlace.py @@ -276,7 +276,7 @@ class EditPlace: self.remove_itself_from_menu() gc.collect() - def close(self,obj): + def close(self,obj=None): self.glry.close() self.close_child_windows() self.remove_itself_from_menu() diff --git a/gramps2/src/EditSource.py b/gramps2/src/EditSource.py index 316ec98ab..1b1d9c7fb 100644 --- a/gramps2/src/EditSource.py +++ b/gramps2/src/EditSource.py @@ -227,7 +227,7 @@ class EditSource: """Display the relevant portion of GRAMPS manual""" GrampsDisplay.help('adv-src') - def close(self,obj): + def close(self,obj=None): self.gallery.close() self.close_child_windows() self.remove_itself_from_menu() diff --git a/gramps2/src/ImageSelect.py b/gramps2/src/ImageSelect.py index 3a593b78a..1a5c9dceb 100644 --- a/gramps2/src/ImageSelect.py +++ b/gramps2/src/ImageSelect.py @@ -800,7 +800,7 @@ class LocalMediaProperties: self.remove_itself_from_menu() gc.collect() - def close(self,obj): + def close(self,obj=None): self.gladeif.close() self.close_child_windows() self.remove_itself_from_menu() @@ -1091,7 +1091,7 @@ class GlobalMediaProperties: self.remove_itself_from_menu() gc.collect() - def close(self,obj): + def close(self,obj=None): self.close_child_windows() self.remove_itself_from_menu() self.window.destroy()