Fix database dir under windows.

svn: r9582
This commit is contained in:
Brian Matherly 2007-12-25 05:35:58 +00:00
parent 12bdeb40a6
commit b4368a7b3a
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,6 @@
2007-12-24 Brian Matherly <brian@gramps-project.org>
* src/Config/_GrampsConfigKeys.py: Fix database dir under windows.
2007-12-24 Brian Matherly <brian@gramps-project.org>
* src/ReportBase/_GraphvizReportDialog.py: Fix default font.

View File

@ -20,6 +20,9 @@
# $Id$
import const
import os
"""
Adding a new configuration key:
@ -216,7 +219,7 @@ default_value = {
PEDVIEW_LAYOUT : 0,
PEDVIEW_SHOW_MARRIAGE: False,
PEDVIEW_SHOW_IMAGES : True,
DATABASE_PATH : '~/.gramps/grampsdb',
DATABASE_PATH : os.path.join( const.HOME_DIR, 'grampsdb'),
FPREFIX : 'F%04d',
EPREFIX : 'E%04d',
RPREFIX : 'R%04d',