[gnome-music] Fix missing Artists list
- From: Vadim Rutkovsky <vrutkovsky src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music] Fix missing Artists list
- Date: Mon, 10 Feb 2014 16:54:19 +0000 (UTC)
commit 94c031a9210de68e955847225586af5bd6ae2493
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]