* 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:
parent
383a0a6f2c
commit
6da362e2fa
@ -5,6 +5,10 @@
|
|||||||
in the context menu.
|
in the context menu.
|
||||||
* NEWS: Update.
|
* 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>
|
2004-06-20 Alex Roitman <shura@alex.neuro.umn.edu>
|
||||||
* configure.in: Bump up the version number.
|
* configure.in: Bump up the version number.
|
||||||
* src/gramps.py: Pass complete argument string.
|
* src/gramps.py: Pass complete argument string.
|
||||||
|
@ -421,7 +421,7 @@ class ArgHandler:
|
|||||||
"""
|
"""
|
||||||
if action == 'check':
|
if action == 'check':
|
||||||
import Check
|
import Check
|
||||||
checker = Check.CheckIntegrity(self.parent.db)
|
checker = Check.CheckIntegrity(self.parent.db,None,None)
|
||||||
checker.check_for_broken_family_links()
|
checker.check_for_broken_family_links()
|
||||||
checker.cleanup_missing_photos(1)
|
checker.cleanup_missing_photos(1)
|
||||||
checker.check_parent_relationships()
|
checker.check_parent_relationships()
|
||||||
|
@ -149,6 +149,11 @@ class Gramps:
|
|||||||
|
|
||||||
ArgHandler.ArgHandler(self,args)
|
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:
|
if GrampsCfg.usetips:
|
||||||
TipOfDay.TipOfDay()
|
TipOfDay.TipOfDay()
|
||||||
|
|
||||||
@ -352,7 +357,6 @@ class Gramps:
|
|||||||
self.back = gtk.ImageMenuItem(gtk.STOCK_GO_BACK)
|
self.back = gtk.ImageMenuItem(gtk.STOCK_GO_BACK)
|
||||||
self.forward = gtk.ImageMenuItem(gtk.STOCK_GO_FORWARD)
|
self.forward = gtk.ImageMenuItem(gtk.STOCK_GO_FORWARD)
|
||||||
|
|
||||||
self.topWindow.show()
|
|
||||||
self.enable_toolbar(self.use_toolbar)
|
self.enable_toolbar(self.use_toolbar)
|
||||||
|
|
||||||
def undo(self,*args):
|
def undo(self,*args):
|
||||||
|
@ -78,7 +78,10 @@ def build_report(database,person):
|
|||||||
notfound.append(photo.get_path())
|
notfound.append(photo.get_path())
|
||||||
|
|
||||||
for person_id in personList:
|
for person_id in personList:
|
||||||
length = len(person.get_media_list())
|
person = database.try_to_find_person_from_id(person_id)
|
||||||
|
if not person:
|
||||||
|
continue
|
||||||
|
length = len(person.get_media_list())
|
||||||
if length > 0:
|
if length > 0:
|
||||||
with_photos = with_photos + 1
|
with_photos = with_photos + 1
|
||||||
total_photos = total_photos + length
|
total_photos = total_photos + length
|
||||||
|
Loading…
Reference in New Issue
Block a user