Font special case was logically very broken
This commit is contained in:
parent
be8e4cf057
commit
e9b5a3dfb4
|
@ -199,16 +199,15 @@ class TerminatorConfValuestoreGConf (TerminatorConfValuestore):
|
||||||
value = None
|
value = None
|
||||||
|
|
||||||
dbg (' VSGConf: preparing: %s/%s'%(self.profile, key))
|
dbg (' VSGConf: preparing: %s/%s'%(self.profile, key))
|
||||||
|
|
||||||
if key == 'font':
|
# FIXME: Ugly special cases we should look to fix in some other way.
|
||||||
if self.use_system_font:
|
if key == 'font' and self.use_system_font::
|
||||||
value = self.client.get ('/desktop/gnome/interface/monospace_font_name')
|
value = self.client.get ('/desktop/gnome/interface/monospace_font_name')
|
||||||
|
elif key == 'focus':
|
||||||
|
value = self.client.get ('/apps/metacity/general/focus_mode')
|
||||||
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