'Unload the spool from the correspondent extruder.'

def onClickUnload(self, event, extruder):

    spool_name = self.spool_manager.getSpoolName(extruder)
    if (spool_name != None):
        self.spool_manager.unload(extruder)
        self.current_spools_dialog.refreshDialog(self.spool_manager)
        self.statusbar.SetStatusText(('Unloaded    spool    from    Extruder    %d.' % extruder))
    else:
        self.statusbar.SetStatusText(('There    is    no    spool    loaded    for    Extruder    %d.' % extruder))
