add another ugly override for non-gnome-terminal gconf setting. this time it's focus

This commit is contained in:
Chris Jones 2008-04-07 22:46:26 +01:00
parent 4991b0ae21
commit 41ab710fbe
1 changed files with 4 additions and 1 deletions

View File

@ -65,8 +65,8 @@ class TerminatorConfig:
dbg (" TConfig: got: '%s' from a '%s'"%(val, source.type))
return (val)
except:
dbg (" TConfig: no value found in '%s'."%source.type)
pass
dbg (" TConfig: Out of sources")
raise (AttributeError)
@ -206,6 +206,9 @@ class TerminatorConfValuestoreGConf (TerminatorConfValuestore):
else:
value = self.client.get ('%s/%s'%(self.profile, key))
if key == 'focus':
value = self.client.get ('/apps/metacity/general/focus_mode')
if value:
funcname = "get_" + self.defaults[key][0].__name__
# Special case for str