sidebar-text option
svn: r6534
This commit is contained in:
@@ -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 : './',
|
||||
}
|
||||
|
@@ -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
|
||||
|
||||
|
@@ -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('/')
|
||||
|
Reference in New Issue
Block a user