Add Config package

svn: r6044
This commit is contained in:
Alex Roitman
2006-03-03 00:10:52 +00:00
parent 72ff16c982
commit bc6848cf20
26 changed files with 223 additions and 214 deletions

View File

@@ -26,7 +26,7 @@ import gtk
import gobject
import GrampsMime
import GrampsKeys
import Config
import Utils
class ImgManip:
@@ -112,8 +112,8 @@ def run_thumbnailer(mtype, frm, to, size=const.thumbScale):
}
base = '/desktop/gnome/thumbnailers/%s' % mtype.replace('/','@')
cmd = GrampsKeys.client.get_string(base + '/command')
enable = GrampsKeys.client.get_bool(base + '/enable')
cmd = Config.client.get_string(base + '/command')
enable = Config.client.get_bool(base + '/enable')
if cmd and enable:
cmdlist = map(lambda x: sublist.get(x,x),cmd.split())