Fix database dir under windows.
svn: r9582
This commit is contained in:
parent
12bdeb40a6
commit
b4368a7b3a
@ -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>
|
2007-12-24 Brian Matherly <brian@gramps-project.org>
|
||||||
* src/ReportBase/_GraphvizReportDialog.py: Fix default font.
|
* src/ReportBase/_GraphvizReportDialog.py: Fix default font.
|
||||||
|
|
||||||
|
@ -20,6 +20,9 @@
|
|||||||
|
|
||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
|
import const
|
||||||
|
import os
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Adding a new configuration key:
|
Adding a new configuration key:
|
||||||
|
|
||||||
@ -216,7 +219,7 @@ default_value = {
|
|||||||
PEDVIEW_LAYOUT : 0,
|
PEDVIEW_LAYOUT : 0,
|
||||||
PEDVIEW_SHOW_MARRIAGE: False,
|
PEDVIEW_SHOW_MARRIAGE: False,
|
||||||
PEDVIEW_SHOW_IMAGES : True,
|
PEDVIEW_SHOW_IMAGES : True,
|
||||||
DATABASE_PATH : '~/.gramps/grampsdb',
|
DATABASE_PATH : os.path.join( const.HOME_DIR, 'grampsdb'),
|
||||||
FPREFIX : 'F%04d',
|
FPREFIX : 'F%04d',
|
||||||
EPREFIX : 'E%04d',
|
EPREFIX : 'E%04d',
|
||||||
RPREFIX : 'R%04d',
|
RPREFIX : 'R%04d',
|
||||||
|
Loading…
Reference in New Issue
Block a user