Maybe if we change the order of the commands in preferences.py from
self.chk_use_system_font.connect('toggled', lambda w: self.font_name.set_sensitive(not self.chk_use_system_font.get_active())) self.chk_use_system_font.set_active(ConfigManager.get_conf('use-default-font'))
to self.chk_use_system_font.set_active(ConfigManager.get_conf('use-default-font')) self.chk_use_system_font.connect('toggled', lambda w: self.font_name.set_sensitive(not self.chk_use_system_font.get_active()))
It solves the problem, I guess.
Maybe if we change the order of the commands in preferences.py from
self.chk_ use_system_ font.connect( 'toggled' , lambda w: self.font_ name.set_ sensitive( not self.chk_ use_system_ font.get_ active( ))) use_system_ font.set_ active( ConfigManager. get_conf( 'use-default- font'))
self.chk_
to use_system_ font.set_ active( ConfigManager. get_conf( 'use-default- font')) use_system_ font.connect( 'toggled' , lambda w: self.font_ name.set_ sensitive( not self.chk_ use_system_ font.get_ active( )))
self.chk_
self.chk_
It solves the problem, I guess.