5012: Move custom rule configuration file into the version directory and provide upgrade from previous version

svn: r18115
This commit is contained in:
Nick Hall
2011-09-06 14:43:03 +00:00
parent ec1018973d
commit b5ff4c9aea
2 changed files with 17 additions and 1 deletions

View File

@@ -145,7 +145,7 @@ IMAGE_DIR = os.path.join(ROOT_DIR, "images")
VERSION_DIR = os.path.join(
HOME_DIR, "gramps%s%s" % (VERSION_TUPLE[0], VERSION_TUPLE[1]))
CUSTOM_FILTERS = os.path.join(HOME_DIR, "custom_filters.xml")
CUSTOM_FILTERS = os.path.join(VERSION_DIR, "custom_filters.xml")
REPORT_OPTIONS = os.path.join(HOME_DIR, "report_options.xml")
TOOL_OPTIONS = os.path.join(HOME_DIR, "tool_options.xml")