* 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:
@ -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)
|
||||
|
Reference in New Issue
Block a user