* src/Config/_GrampsIniKeys.py (get_default): Add optional arg

indicating type.


svn: r6644
This commit is contained in:
Alex Roitman 2006-05-13 05:54:07 +00:00
parent 0ca3a01bd3
commit 969bc43555
2 changed files with 4 additions and 2 deletions

View File

@ -12,6 +12,8 @@
* src/Config/_GrampsGconfKeys.py (get_default): Allow other types.
* src/GrampsCfg.py (reset_colors): Emit color-set signal to
trigget hex text updates.
* src/Config/_GrampsIniKeys.py (get_default): Add optional arg
indicating type.
2006-05-12 Don Allingham <don@gramps-project.org>
* src/ViewManager.py: move ScratchPad to Edit

View File

@ -1,7 +1,7 @@
#
# Gramps - a GTK+/GNOME based genealogy program
#
# Copyright (C) 2005 Donald N. Allingham
# Copyright (C) 2005-2006 Donald N. Allingham
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@ -245,5 +245,5 @@ def set_string(key, val, test_func=None):
def sync():
client.suggest_sync()
def get_default(key):
def get_default(key,sample=''):
return default_value[key]