* src/GrampsIniKeys.py: provide support for the default schema

* src/GrampsKeys.py: select appropriate backend
* various: switch from GrampsGconfKeys to GrampsKeys for normal usage

* src/GrampsIniKeys.py: Alternate backend using .ini files instead
of gconf


svn: r3873
This commit is contained in:
Don Allingham
2005-01-06 17:28:31 +00:00
parent 9b27acacbe
commit 09328f505b
23 changed files with 211 additions and 191 deletions

View File

@ -224,9 +224,9 @@ def view_photo(photo):
os.execvp(args[0],args)
def nautilus_icon(icon,mime_type):
import GrampsGconfKeys
import GrampsKeys
theme = GrampsGconfKeys.client.get_string("/desktop/gnome/file_views/icon_theme")
theme = GrampsKeys.client.get_string("/desktop/gnome/file_views/icon_theme")
if icon :
newicon = "%s/%s/%s.png" % (const.nautdir,theme,icon)