sidebar-text option

svn: r6534
This commit is contained in:
Don Allingham
2006-05-03 22:21:59 +00:00
parent db2d3ec2c4
commit b7e6d2f149
8 changed files with 38 additions and 9 deletions

View File

@@ -43,6 +43,7 @@ USE_LDS = ('behavior','use-lds', 0)
USE_TIPS = ('behavior','use-tips', 0)
POP_PLUGIN_STATUS = ('behavior','pop-plugin-status', 0)
VIEW = ('interface','view', 0)
SIDEBAR_TEXT = ('interface','sidebar-text', 0)
WEBSITE_DIRECTORY = ('paths','website-directory', 2)
@@ -92,5 +93,6 @@ default_value = {
USE_TIPS : False,
POP_PLUGIN_STATUS : False,
VIEW : True,
SIDEBAR_TEXT : True,
WEBSITE_DIRECTORY : './',
}

View File

@@ -92,7 +92,7 @@ def get(key):
val = get_int(token)
else:
val = get_string(token)
if not val:
if val == None:
val = default_value[key]
return val

View File

@@ -83,7 +83,7 @@ if __name__ == "__main__":
parser = SchemaHandler()
parser.parse(sys.argv[1])
f = open("_GrampsConfigKeys","w")
f = open("_GrampsConfigKeys.py","w")
for (key, key_type, default, long, short, include) in parser.list:
data = key.split('/')