Detection of need to rerun startup

svn: r739
This commit is contained in:
Don Allingham
2002-01-31 05:53:19 +00:00
parent bcc4f65f61
commit a9798041c5
3 changed files with 17 additions and 5 deletions

View File

@@ -28,9 +28,10 @@ else:
arg = None
try:
if gnome.config.get_string("/gramps/researcher/name") == None:
from StartupDialog import StartupDialog
StartupDialog(gramps_main.main,arg)
import StartupDialog
if StartupDialog.need_to_run():
StartupDialog.StartupDialog(gramps_main.main,arg)
else:
gramps_main.main(arg)
except: