add another ugly override for non-gnome-terminal gconf setting. this time it's focus
This commit is contained in:
parent
4991b0ae21
commit
41ab710fbe
|
@ -65,8 +65,8 @@ class TerminatorConfig:
|
||||||
dbg (" TConfig: got: '%s' from a '%s'"%(val, source.type))
|
dbg (" TConfig: got: '%s' from a '%s'"%(val, source.type))
|
||||||
return (val)
|
return (val)
|
||||||
except:
|
except:
|
||||||
dbg (" TConfig: no value found in '%s'."%source.type)
|
|
||||||
pass
|
pass
|
||||||
|
|
||||||
dbg (" TConfig: Out of sources")
|
dbg (" TConfig: Out of sources")
|
||||||
raise (AttributeError)
|
raise (AttributeError)
|
||||||
|
|
||||||
|
@ -206,6 +206,9 @@ class TerminatorConfValuestoreGConf (TerminatorConfValuestore):
|
||||||
else:
|
else:
|
||||||
value = self.client.get ('%s/%s'%(self.profile, key))
|
value = self.client.get ('%s/%s'%(self.profile, key))
|
||||||
|
|
||||||
|
if key == 'focus':
|
||||||
|
value = self.client.get ('/apps/metacity/general/focus_mode')
|
||||||
|
|
||||||
if value:
|
if value:
|
||||||
funcname = "get_" + self.defaults[key][0].__name__
|
funcname = "get_" + self.defaults[key][0].__name__
|
||||||
# Special case for str
|
# Special case for str
|
||||||
|
|
Loading…
Reference in New Issue