load default directory from Config

svn: r213
This commit is contained in:
Don Allingham 2001-07-01 21:30:58 +00:00
parent 8d751d67d3
commit 8d344f7dc0

View File

@ -26,6 +26,7 @@ from HtmlDoc import *
import const import const
import utils import utils
import Config
import intl import intl
_ = intl.gettext _ = intl.gettext
@ -520,7 +521,8 @@ def report(database,person):
build_menu(None) build_menu(None)
top = topDialog.get_widget("top") top = topDialog.get_widget("top")
topDialog.get_widget("targetDirectory").set_default_path(os.getcwd()) topDialog.get_widget("targetDirectory").set_default_path(Config.web_dir)
topDialog.get_widget("tgtdir").set_text(Config.web_dir)
filterName = topDialog.get_widget("filterName") filterName = topDialog.get_widget("filterName")
popdown_strings = filter_map.keys() popdown_strings = filter_map.keys()