示例#1
0
    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
示例#2
0
    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
示例#3
0
 def remove_cover(self):
     """
         Removes the cover for the current track from the database
     """
     COVER_MANAGER.remove_cover(self.__track)
     self.set_blank()
示例#4
0
 def remove_cover(self):
     """
         Removes the cover for the current track from the database
     """
     COVER_MANAGER.remove_cover(self.__track)
     self.set_blank()