* src/EditPerson.py: Corrections.
* src/EditSource.py: Use parent class. Use windows menu. * src/ImageSelect.py: Corrections. * src/Sources.py: Corrections. * src/gramps.glade: Add handlers. * src/NoteEdit.py: Corrections. * src/dialog.glade: Add handler. * src/Witness.py: Corrections. * src/RelLib.py: Include witnesses in comparing events. * src/FamilyView.py: Pass parent on to child classes. * src/AddSpouse.py: Pass parent on to EditPerson. * src/ChooseParents.py: Pass parent on to EditPerson. * src/gramps_main.py: Pass Gramps class to child classes. * src/MergeData.py: Pass parent on to EditPerson. svn: r2885
This commit is contained in:
+2
-2
@@ -341,7 +341,7 @@ class SourceEditor:
|
||||
|
||||
def close_child_windows(self):
|
||||
for child_window in self.child_windows:
|
||||
child_window.close()
|
||||
child_window.close(None)
|
||||
self.child_windows = []
|
||||
|
||||
def add_itself_to_menu(self):
|
||||
@@ -482,7 +482,7 @@ class SourceEditor:
|
||||
|
||||
def add_src_clicked(self,obj):
|
||||
import EditSource
|
||||
EditSource.EditSource(RelLib.Source(),self.db, self.sourceDisplay, self.update_display)
|
||||
EditSource.EditSource(RelLib.Source(),self.db, self,self.sourceDisplay, self.update_display)
|
||||
|
||||
|
||||
def by_title(first,second):
|
||||
|
||||
Reference in New Issue
Block a user