Apply patch from 'SXW', closing LP #237796
This commit is contained in:
parent
bbc17502a8
commit
f14b544668
|
@ -406,6 +406,10 @@ class TerminatorConfValuestoreGConf (TerminatorConfValuestore):
|
||||||
value = self.client.get ('%s/%s'%(self.profile, key))
|
value = self.client.get ('%s/%s'%(self.profile, key))
|
||||||
|
|
||||||
if value:
|
if value:
|
||||||
|
from types import StringType
|
||||||
|
if type(value) is StringType:
|
||||||
|
ret = value
|
||||||
|
else:
|
||||||
funcname = "get_" + Defaults[key].__class__.__name__
|
funcname = "get_" + Defaults[key].__class__.__name__
|
||||||
dbg (' GConf: picked function: %s'%funcname)
|
dbg (' GConf: picked function: %s'%funcname)
|
||||||
# Special case for str
|
# Special case for str
|
||||||
|
|
Loading…
Reference in New Issue