[gnome-music/wip/mschraal/core: 35/70] albumsview: Remove unused stuff



commit a018ce1d63290ff6d5f2243ecd9c5c6cd1c31b6a
Author: Marinus Schraal <mschraal gnome org>
Date:   Fri May 10 01:19:24 2019 +0200

    albumsview: Remove unused stuff

 gnomemusic/views/albumsview.py | 15 ---------------
 1 file changed, 15 deletions(-)
---
diff --git a/gnomemusic/views/albumsview.py b/gnomemusic/views/albumsview.py
index 2945cbf5..d397a84d 100644
--- a/gnomemusic/views/albumsview.py
+++ b/gnomemusic/views/albumsview.py
@@ -156,21 +156,6 @@ class AlbumsView(BaseView):
             if len(self.albums_selected):
                 self._get_selected_album_songs()
 
-    @log
-    def _add_item(self, source, param, item, remaining=0, data=None):
-        if item:
-            # Store all items to optimize 'Select All' action
-            self.all_items.append(item)
-
-            # Add to the flowbox
-            child = self._create_album_item(item)
-            self._view.add(child)
-            self._offset += 1
-        elif remaining == 0:
-            self._view.show()
-            self._window.notifications_popup.pop_loading()
-            self._init = False
-
     def _create_album_item(self, item):
         child = AlbumCover(item)
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]