2006-05-12 Don Allingham <don@gramps-project.org>

* src/GrampsCfg.py: add revert option for colors
	* src/Config/_GrampsGconfKeys.py: added get_default
	* src/Config/_GrampsIniKeys.py: added get_default



svn: r6641
This commit is contained in:
Don Allingham
2006-05-13 05:12:19 +00:00
parent 38c02eddce
commit 9aa8094b00
4 changed files with 36 additions and 3 deletions

View File

@ -149,3 +149,7 @@ def set_string(key,val,test_func=None):
def sync():
client.suggest_sync()
def get_default(key):
token = "/apps/gramps/%s/%s" % (key[0],key[1])
return client.get_default_from_schema(token)