svn: r6497

This commit is contained in:
Don Allingham
2006-04-30 01:25:56 +00:00
parent c872bd6051
commit e4235afcc1
7 changed files with 24 additions and 9 deletions

View File

@@ -156,8 +156,6 @@ class Gramps:
state = GrampsDb.DbState()
self.vm = ViewManager.ViewManager(state)
# self.vm.register_view(DataViews._PersonView.PersonView)
# self.vm.register_view(DataViews._FamilyList.FamilyListView)
for view in DataViews.get_views():
self.vm.register_view(view)
@@ -197,6 +195,24 @@ class Gramps:
## self.db.connect('person-update',self.on_update_bookmark)
def welcome(self):
if not Config.get(Config.BETAWARN):
from QuestionDialog import WarningDialog
WarningDialog(
_('Danger: This is unstable code!'),
_("The GRAMPS 2.1 release is an early, experimental "
"branch of the future 2.2 release. This version is "
"not meant for normal usage. Use at your own risk.\n\n"
"This version may:\n1) Fail to run properly\n"
"2) Corrupt your data\n3) Cause your hair to turn "
"pink and fall out.\n\nAny databases opened by this "
"version will <b>NO LONGER WORK</b> in older versions of "
"GRAMPS, and <b>MAY NOT WORK</b> in with future "
"releases of GRAMPS. <b>BACKUP</b> your existing databases "
"before opening them with this version, and make "
"sure to export your data to XML every now and then."))
Config.set(Config.AUTOLOAD,False)
Config.set(Config.BETAWARN,True)
return
def researcher_key_update(self,client,cnxn_id,entry,data):