(self, checkbox)
Toggling the use_custom_command checkbox needs to alter the
        sensitivity of the custom_command entrybox
Toggling the use_custom_command checkbox needs to alter the
        sensitivity of the custom_command entrybox
Toggling the use_custom_command checkbox needs to alter the sensitivity of the custom_command entrybox
def on_use_custom_command_checkbutton_toggled(self, checkbox):
        """Toggling the use_custom_command checkbox needs to alter the
        sensitivity of the custom_command entrybox"""
        guiget = self.builder.get_object
        widget = guiget('custom_command_entry')
        value = checkbox.get_active()

        widget.set_sensitive(value)
        self.config['use_custom_command'] = value
        self.config.save()
def on_use_custom_command_checkbutton_toggled ( self , checkbox ) : guiget = self . builder . get_object widget = guiget ( 'custom_command_entry' ) value = checkbox . get_active ( ) widget . set_sensitive ( value ) self . config [ 'use_custom_command' ] = value self . config . save ( )