Converted gramps_main.py to a class, replace utils.py with Utils.py and

Config.py with GrampsCfg.py (for pychecker)


svn: r789
This commit is contained in:
Don Allingham
2002-02-22 03:55:32 +00:00
parent 8285071eee
commit d9c223deed
66 changed files with 2085 additions and 2513 deletions

View File

@@ -24,8 +24,7 @@ from RelLib import *
from HtmlDoc import *
import const
import utils
import Config
import GrampsCfg
import intl
_ = intl.gettext
@@ -844,7 +843,7 @@ class WebReportDialog(ReportDialog):
"""Get the name of the directory to which the target dialog
box should default. This value can be set in the preferences
panel."""
return Config.web_dir
return GrampsCfg.web_dir
def set_default_directory(self, value):
"""Save the name of the current directory, so that any future
@@ -854,7 +853,7 @@ class WebReportDialog(ReportDialog):
This means that the last directory used will only be
remembered for this session of gramps unless the user saves
his/her preferences."""
Config.web_dir = value
GrampsCfg.web_dir = value
#------------------------------------------------------------------------
#