get rid of the beta warning (same fix as in gramps30 -- delete the entire function)
svn: r12077
This commit is contained in:
parent
a92154970b
commit
56de9475f6
@ -191,33 +191,6 @@ def build_user_paths():
|
|||||||
if not os.path.isdir(path):
|
if not os.path.isdir(path):
|
||||||
os.mkdir(path)
|
os.mkdir(path)
|
||||||
|
|
||||||
def _display_welcome_message():
|
|
||||||
"""
|
|
||||||
Display a welcome message to the user.
|
|
||||||
"""
|
|
||||||
if not Config.get(Config.BETAWARN):
|
|
||||||
from QuestionDialog import WarningDialog
|
|
||||||
WarningDialog(
|
|
||||||
_('Danger: This is unstable code!'),
|
|
||||||
_("This GRAMPS 3.x-trunk is a development release. "
|
|
||||||
"This version is not meant for normal usage. Use "
|
|
||||||
"at your own risk.\n"
|
|
||||||
"\n"
|
|
||||||
"This version may:\n"
|
|
||||||
"1) Work differently than you expect.\n"
|
|
||||||
"2) Fail to run at all.\n"
|
|
||||||
"3) Crash often.\n"
|
|
||||||
"4) Corrupt your data.\n"
|
|
||||||
"5) Save data in a format that is incompatible with the "
|
|
||||||
"official release.\n"
|
|
||||||
"\n"
|
|
||||||
"<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)
|
|
||||||
Config.set(Config.BETAWARN, Config.get(Config.BETAWARN))
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
# Main Gramps class
|
# Main Gramps class
|
||||||
@ -235,7 +208,6 @@ class Gramps:
|
|||||||
stopload = False
|
stopload = False
|
||||||
try:
|
try:
|
||||||
build_user_paths()
|
build_user_paths()
|
||||||
_display_welcome_message()
|
|
||||||
except OSError, msg:
|
except OSError, msg:
|
||||||
ErrorDialog(_("Configuration error"), str(msg))
|
ErrorDialog(_("Configuration error"), str(msg))
|
||||||
except Errors.GConfSchemaError, val:
|
except Errors.GConfSchemaError, val:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user