* src/srcsel.glade: Define proper responses for OK and Cancel buttons
in both SourceSelector and SourceEditor windows. * src/Sources.py: Make both SourceSelector and SourceEditor modal and transients for their parent window. Add SourceTab window argument to SourceTab to pass to the SourceEditor. * src/AddrEdit.py: Pass window widget to the SourceTab. * src/AttrEdit.py: Likewise. * src/EditPlace.py: Likewise. * src/EventEdit.py: Likewise. * src/NameEdit.py: Likewise. * src/Marriage.py: Rename top_window to self.window. svn: r2123
This commit is contained in:
@@ -157,7 +157,7 @@ class EditPlace:
|
||||
})
|
||||
|
||||
self.sourcetab = Sources.SourceTab(self.srcreflist,self,
|
||||
self.top_window,self.slist,
|
||||
self.top_window,self.top,self.slist,
|
||||
self.top_window.get_widget('add_src'),
|
||||
self.top_window.get_widget('edit_src'),
|
||||
self.top_window.get_widget('del_src'))
|
||||
|
Reference in New Issue
Block a user