* src/EditPlace.py, src/EditSource.py, src/ImageSelect.py: Provide
default value for the second argument on close(). svn: r5763
This commit is contained in:
parent
8ba376dd86
commit
b3bab9607d
@ -1,6 +1,8 @@
|
||||
2006-01-16 Alex Roitman <shura@gramps-project.org>
|
||||
* 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 <don@gramps-project.org>
|
||||
* src/RelLib.py: improve Event is_equal method
|
||||
|
@ -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()
|
||||
|
@ -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()
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user