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

@ -1,7 +1,7 @@
# This is the top level Makefile for Gramps # This is the top level Makefile for Gramps
# $Id$ # $Id$
SUBDIRS = m4 po src data example help SUBDIRS = m4 po src data example #help
EXTRA_DIST = \ EXTRA_DIST = \
config.rpath autogen.sh gramps.spec.in gramps.spec \ config.rpath autogen.sh gramps.spec.in gramps.spec \

View File

@ -11,8 +11,8 @@ AM_INIT_AUTOMAKE(1.6.3)
AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_MACRO_DIR([m4])
GNOME_DOC_INIT GNOME_DOC_INIT
RELEASE=0.SVN$(svnversion -n .) dnl RELEASE=0.SVN$(svnversion -n .)
dnl RELEASE=1 RELEASE=1
VERSIONSTRING=$VERSION VERSIONSTRING=$VERSION
if test x"$RELEASE" != "x" if test x"$RELEASE" != "x"
@ -189,7 +189,6 @@ m4/Makefile
Makefile Makefile
gramps.spec gramps.spec
gramps.sh gramps.sh
help/Makefile
src/const.py src/const.py
src/Makefile src/Makefile
src/RelLib/Makefile src/RelLib/Makefile

View File

@ -203,7 +203,7 @@ src/plugins/IndivComplete.py
src/plugins/IndivSummary.py src/plugins/IndivSummary.py
src/plugins/Leak.py src/plugins/Leak.py
src/plugins/Merge.py src/plugins/Merge.py
src/plugins/NavWebPage.py src/plugins/NarrativeWeb.py
src/plugins/PatchNames.py src/plugins/PatchNames.py
src/plugins/ReadPkg.py src/plugins/ReadPkg.py
src/plugins/Rebuild.py src/plugins/Rebuild.py

View File

@ -182,7 +182,7 @@ class WarningDialog(gtk.MessageDialog):
type=gtk.MESSAGE_WARNING, type=gtk.MESSAGE_WARNING,
buttons=gtk.BUTTONS_CLOSE) buttons=gtk.BUTTONS_CLOSE)
self.set_markup('<span weight="bold" size="larger">%s</span>' % msg1) self.set_markup('<span weight="bold" size="larger">%s</span>' % msg1)
self.format_secondary_text(msg2) self.format_secondary_markup(msg2)
self.set_icon(ICON) self.set_icon(ICON)
self.show() self.show()
self.run() self.run()

View File

@ -156,8 +156,6 @@ class Gramps:
state = GrampsDb.DbState() state = GrampsDb.DbState()
self.vm = ViewManager.ViewManager(state) 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(): for view in DataViews.get_views():
self.vm.register_view(view) self.vm.register_view(view)
@ -197,6 +195,24 @@ class Gramps:
## self.db.connect('person-update',self.on_update_bookmark) ## self.db.connect('person-update',self.on_update_bookmark)
def welcome(self): 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 return
def researcher_key_update(self,client,cnxn_id,entry,data): def researcher_key_update(self,client,cnxn_id,entry,data):

View File

@ -35,7 +35,7 @@ pkgdata_PYTHON = \
IndivSummary.py\ IndivSummary.py\
ImportvCard.py\ ImportvCard.py\
Merge.py\ Merge.py\
NavWebPage.py\ NarrativeWeb.py\
PatchNames.py\ PatchNames.py\
ReadPkg.py\ ReadPkg.py\
Rebuild.py\ Rebuild.py\