From 41ab710fbe0671c119774ef4623d83451899dcf1 Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Mon, 7 Apr 2008 22:46:26 +0100 Subject: [PATCH] add another ugly override for non-gnome-terminal gconf setting. this time it's focus --- terminatorconfig.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/terminatorconfig.py b/terminatorconfig.py index 02154697..80c863bb 100755 --- a/terminatorconfig.py +++ b/terminatorconfig.py @@ -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