[gnome-music/wip/merge: 104/343] window: append views
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/merge: 104/343] window: append views
- Date: Thu, 25 Jul 2013 11:22:09 +0000 (UTC)
commit 916e0c3267d86f74375a227c088f6ec903074ab8
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date: Mon Jul 15 16:16:57 2013 +0200
window: append views
gnomemusic/window.py | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gnomemusic/window.py b/gnomemusic/window.py
index 7b538a4..ceb979e 100644
--- a/gnomemusic/window.py
+++ b/gnomemusic/window.py
@@ -74,10 +74,10 @@ class Window(Gtk.ApplicationWindow):
if cursor is not None and cursor.next(None):
count = cursor.get_integer(0)
if count > 0:
- self.views[0] = Views.Albums(self.toolbar, self.selectionToolbar, self.player)
- self.views[1] = Views.Artists(self.toolbar, self.selectionToolbar, self.player)
- self.views[2] = Views.Songs(self.toolbar, self.selectionToolbar, self.player)
- self.views[3] = Views.Playlists(self.toolbar, self.selectionToolbar, self.player)
+ self.views.append(Views.Albums(self.toolbar, self.selectionToolbar, self.player))
+ self.views.append(Views.Artists(self.toolbar, self.selectionToolbar, self.player))
+ self.views.append(Views.Songs(self.toolbar, self.selectionToolbar, self.player))
+ self.views.append(Views.Playlists(self.toolbar, self.selectionToolbar, self.player))
for i in self.views:
self._stack.add_titled(
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]