From 56de9475f62ca26ba36bb0e1a562f06d1f9caa0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Charette?= Date: Sun, 22 Feb 2009 19:35:05 +0000 Subject: [PATCH] get rid of the beta warning (same fix as in gramps30 -- delete the entire function) svn: r12077 --- src/gramps_main.py | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/src/gramps_main.py b/src/gramps_main.py index e535bb0fd..8cf659045 100644 --- a/src/gramps_main.py +++ b/src/gramps_main.py @@ -191,33 +191,6 @@ def build_user_paths(): if not os.path.isdir(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" - "BACKUP 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 @@ -235,7 +208,6 @@ class Gramps: stopload = False try: build_user_paths() - _display_welcome_message() except OSError, msg: ErrorDialog(_("Configuration error"), str(msg)) except Errors.GConfSchemaError, val: