'Update the in-memory descriptions of tools and write out the changes
to integrated tool panel unless we are just deactivating a tool (since
that doesn\'t affect that file).'

def update_shed_config(self, shed_conf):

    for (index, my_shed_tool_conf) in enumerate(self._dynamic_tool_confs):
        if (shed_conf['config_filename'] == my_shed_tool_conf['config_filename']):
            self._dynamic_tool_confs[index] = shed_conf
    self._save_integrated_tool_panel()
