* 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:
Alex Roitman
2003-09-13 20:42:57 +00:00
parent 9c868b08b5
commit eaae22c536
9 changed files with 47 additions and 32 deletions

View File

@@ -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'))