[gnome-music] Fix hidden albums in All Artists



commit da3f5f07010532d1ccaacffb2895dd750178aa0c
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date:   Wed Jan 7 11:10:04 2015 +0100

    Fix hidden albums in All Artists

 gnomemusic/widgets.py |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/gnomemusic/widgets.py b/gnomemusic/widgets.py
index 1f0e2bd..9680b16 100644
--- a/gnomemusic/widgets.py
+++ b/gnomemusic/widgets.py
@@ -453,7 +453,7 @@ class AllArtistsAlbums(ArtistAlbums):
                               header_bar, selection_toolbar, selectionModeAllowed)
         self._offset = 0
         self._populate()
-        self.hide()
+        self.show()
 
     @log
     def _populate(self, data=None):
@@ -463,11 +463,10 @@ class AllArtistsAlbums(ArtistAlbums):
 
     @log
     def add_item(self, source, param, item, remaining=0, data=None):
-        if remaining == 0:
-            self.show()
         if item:
             self._offset += 1
             self.add_album(item)
+            self.show_all()
 
 
 class ArtistAlbumWidget(Gtk.Box):


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