def on_transparency_value_changed(self, hscale):
        """Changes the value of background_transparency in dconf
        """
        value = hscale.get_value()
        self.prefDlg.set_colors_from_settings()
        self.settings.styleBackground.set_int('transparency', MAX_TRANSPARENCY - int(value))
def on_transparency_value_changed ( self , hscale ) : value = hscale . get_value ( ) self . prefDlg . set_colors_from_settings ( ) self . settings . styleBackground . set_int ( 'transparency' , MAX_TRANSPARENCY - int ( value ) )
Changes the value of background_transparency in dconf