Ejemplo n.º 1
0
 def _on_populated(self, widget, idle_id):
     """
         Add another album/disc
         @param widget as AlbumWidget/TracksView
         @param idle_id as int
     """
     LazyLoadingView._on_populated(self, widget, idle_id)
     if widget.is_populated:
         widget.set_filter_func(self._filter_func)
         widget.set_opacity(1)
Ejemplo n.º 2
0
 def _on_populated(self, widget):
     """
         Add another album/disc
         @param widget as AlbumWidget/TracksView
     """
     LazyLoadingView._on_populated(self, widget)
     if widget.is_populated:
         widget.set_filter_func(self._filter_func)
         widget.connect("overlayed", self.on_overlayed)
         widget.set_opacity(1)