def remove_cover(self): """ Removes the cover of the currently selected album """ paths = self.previews_box.get_selected_items() if paths: path = paths[0] album = self.model[path][0] track = self.album_tracks[album][0] COVER_MANAGER.remove_cover(track) self.model[path][1] = self.default_cover_pixbuf
def remove_cover(self): """ Removes the cover for the current track from the database """ COVER_MANAGER.remove_cover(self.__track) self.set_blank()