[gnome-music/gnome-3-10] Fix missing Artists list



commit a0f4ef20992ee7fd6da86dfbf6fc3ff6d4451aac
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date:   Mon Feb 10 17:50:33 2014 +0100

    Fix missing Artists list

 gnomemusic/view.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnomemusic/view.py b/gnomemusic/view.py
index 066230d..94cecbc 100644
--- a/gnomemusic/view.py
+++ b/gnomemusic/view.py
@@ -91,6 +91,7 @@ class ViewContainer(Stack):
         )
         self.view.set_view_type(Gd.MainViewType.ICON)
         self.filter = self._model.filter_new(None)
+        self.view.set_model(self.filter)
         self.vadjustment = self.view.get_vadjustment()
         self.selection_toolbar = selection_toolbar
         box = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
@@ -324,7 +325,6 @@ class Albums(ViewContainer):
     def populate(self):
         if grilo.tracker:
             GLib.idle_add(grilo.populate_albums, self._offset, self._add_item)
-            self.view.set_model(self.filter)
 
 
 class Songs(ViewContainer):


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