Default report directory added

svn: r195
This commit is contained in:
Don Allingham
2001-06-28 15:27:04 +00:00
parent 1a1f9d3454
commit f468d26b57
5 changed files with 10 additions and 0 deletions

View File

@@ -27,6 +27,7 @@ import re
import sort
import string
import utils
import Config
import intl
_ = intl.gettext
@@ -346,6 +347,7 @@ def report(database,person):
base = os.path.dirname(__file__)
glade_file = base + os.sep + "indsum.glade"
topDialog = GladeXML(glade_file,"dialog1")
topDialog.get_widget("fileentry1").set_default_path(Config.report_dir)
name = person.getPrimaryName().getRegularName()
label = topDialog.get_widget("labelTitle")