* src/plugins/Desbrowser.py: Convert to db; window management.

* src/plugins/desbrowse.glade: Define event handler.
* src/plugins/EventCmp.py: Clean up window management.
* src/plugins/eventcmp.glade: Define event handler.
* src/plugins/Check.py: Clean up conversion to db.
* src/plugins/summary.glade: Make dialog modal.
* src/plugins/Merge.py: Window management.
* src/plugins/merge.glade: Define event handlers.
* src/plugins/ChangeTypes.py: Convert to db.


svn: r3152
This commit is contained in:
Alex Roitman
2004-05-10 23:50:30 +00:00
parent 7b5fe66fe5
commit c2e42c8ea3
10 changed files with 193 additions and 53 deletions

View File

@ -55,10 +55,10 @@ from QuestionDialog import OkDialog, MissingMediaDialog
# runTool
#
#-------------------------------------------------------------------------
def runTool(database,active_person,callback):
def runTool(database,active_person,callback,parent=None):
try:
checker = CheckIntegrity(database)
checker = CheckIntegrity(database,parent)
checker.check_for_broken_family_links()
checker.cleanup_missing_photos(0)
checker.check_parent_relationships()
@ -77,7 +77,7 @@ def runTool(database,active_person,callback):
#-------------------------------------------------------------------------
class CheckIntegrity:
def __init__(self,db):
def __init__(self,db,parent):
self.db = db
self.bad_photo = []
self.replaced_photo = []