* src/ViewManager.py: fix message

* src/Config/_GrampsConfigKeys.py: set default value
	* src/QuestionDialog.py: set value from config
	* data/gramps.schemas.in: fix default value


svn: r7331
This commit is contained in:
Don Allingham
2006-09-26 04:08:41 +00:00
parent 17431a9f82
commit fb6b42d549
5 changed files with 14 additions and 10 deletions

View File

@ -1054,22 +1054,21 @@ def check_for_portability_problems(filetype):
# sys.version_info variable
version = (sys.version_info[0],sys.version_info[1])
if version < (2, 5) and Config.get(Config.PORT_WARN):
if version < (2, 5) and not Config.get(Config.PORT_WARN):
QuestionDialog.MessageHideDialog(
_('Database is not portable'),
_('Your system is running an old version of python. This '
'prevents you from being able to copy your database to '
'other machines. For most people, this is not a problem.\n\n'
'If you need to transfer the database to another machine, '
'export to GRAMPS Package, and import the GRAMPS Package '
'export to a GRAMPS Package, and import the GRAMPS Package '
'on the other machine.\n\nIf you feel you need to be able '
'to transfer this file between machines without exporting, '
'you need to either upgrade to version 2.5 of python, or '
'disable transactions in the preferences menu. Disabling '
'transactions will slow down your performance, and may allow '
'your database to become corrupted if an error occurs while '
'data is being saved'),
'transactions will slow down your performance, and may '
'allow your database to become corrupted if an error '
'occurs while data is being saved'),
Config.PORT_WARN)