* src/ArgHandler.py: Fixes.

* src/gramps_main.py: Don't show topWindow until ArgHandler is done.
* src/plugins/Summary.py: Fixes.


svn: r3224
This commit is contained in:
Alex Roitman 2004-06-21 23:22:55 +00:00
parent 383a0a6f2c
commit 6da362e2fa
4 changed files with 14 additions and 3 deletions

View File

@ -5,6 +5,10 @@
in the context menu.
* NEWS: Update.
* src/ArgHandler.py: Fixes.
* src/gramps_main.py: Don't show topWindow until ArgHandler is done.
* src/plugins/Summary.py: Fixes.
2004-06-20 Alex Roitman <shura@alex.neuro.umn.edu>
* configure.in: Bump up the version number.
* src/gramps.py: Pass complete argument string.

View File

@ -421,7 +421,7 @@ class ArgHandler:
"""
if action == 'check':
import Check
checker = Check.CheckIntegrity(self.parent.db)
checker = Check.CheckIntegrity(self.parent.db,None,None)
checker.check_for_broken_family_links()
checker.cleanup_missing_photos(1)
checker.check_parent_relationships()

View File

@ -149,6 +149,11 @@ class Gramps:
ArgHandler.ArgHandler(self,args)
# Don't show main window until ArgHandler is done.
# This prevents a window from annoyingly popping up when
# the command line args are sufficient to operate without it.
self.topWindow.show()
if GrampsCfg.usetips:
TipOfDay.TipOfDay()
@ -352,7 +357,6 @@ class Gramps:
self.back = gtk.ImageMenuItem(gtk.STOCK_GO_BACK)
self.forward = gtk.ImageMenuItem(gtk.STOCK_GO_FORWARD)
self.topWindow.show()
self.enable_toolbar(self.use_toolbar)
def undo(self,*args):

View File

@ -78,6 +78,9 @@ def build_report(database,person):
notfound.append(photo.get_path())
for person_id in personList:
person = database.try_to_find_person_from_id(person_id)
if not person:
continue
length = len(person.get_media_list())
if length > 0:
with_photos = with_photos + 1