[gnome-music/wip/merge: 249/343] artist: make artist view fill in correctly



commit 22e5fb8ea5f0e00935f82ce6204d0c2bf232233a
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date:   Thu Jul 18 11:39:59 2013 +0200

    artist: make artist view fill in correctly

 gnomemusic/widgets.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gnomemusic/widgets.py b/gnomemusic/widgets.py
index 2a9c337..38a21c4 100644
--- a/gnomemusic/widgets.py
+++ b/gnomemusic/widgets.py
@@ -332,7 +332,8 @@ class ArtistAlbums(Gtk.VBox):
         self._hbox.pack_start(self._albumBox, False, False, 16)
         self.pack_start(self._scrolledWindow, True, True, 0)
 
-        map(self.add_album, albums)
+        for album in albums:
+            self.add_album(album)
 
         self.show_all()
         self.player.connect('playlist-item-changed', self.update_model)


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