* 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:
@ -1,7 +1,7 @@
|
||||
#
|
||||
# Gramps - a GTK+/GNOME based genealogy program
|
||||
#
|
||||
# Copyright (C) 2000, 2003 Donald N. Allingham
|
||||
# Copyright (C) 2000-2003 Donald N. Allingham
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@ -115,7 +115,7 @@ class EventEditor:
|
||||
self.date_field.grab_focus()
|
||||
|
||||
self.sourcetab = Sources.SourceTab(self.srcreflist,self.parent,
|
||||
self.top,self.slist,
|
||||
self.top,self.window,self.slist,
|
||||
self.top.get_widget('add_src'),
|
||||
self.top.get_widget('edit_src'),
|
||||
self.top.get_widget('del_src'))
|
||||
|
Reference in New Issue
Block a user