[gnome-music/wip/merge: 131/343] widgets: create ListStore
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/merge: 131/343] widgets: create ListStore
- Date: Thu, 25 Jul 2013 11:24:25 +0000 (UTC)
commit 1fc4006b216abaee6a528585dabf58d133d88de8
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date: Mon Jul 15 19:19:16 2013 +0200
widgets: create ListStore
gnomemusic/widgets.py | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
---
diff --git a/gnomemusic/widgets.py b/gnomemusic/widgets.py
index b4ebe23..d32ae04 100644
--- a/gnomemusic/widgets.py
+++ b/gnomemusic/widgets.py
@@ -175,7 +175,7 @@ class AlbumWidget(Gtk.EventBox):
self.updateModel(self.player, cachedPlaylist,
self.player.currentTrack)
else:
- self.model = Gtk.ListStore([
+ self.model = Gtk.ListStore(
GObject.TYPE_STRING, # title
GObject.TYPE_STRING,
GObject.TYPE_STRING,
@@ -186,11 +186,8 @@ class AlbumWidget(Gtk.EventBox):
GObject.TYPE_STRING,
GObject.TYPE_BOOLEAN,
GObject.TYPE_BOOLEAN,
- ])
- grilo.getAlbumSongs(item.get_id(),
- self._onGetAlbumSongs(self.source,
- self.prefs,
- self.track))
+ )
+ grilo.getAlbumSongs(item.get_id(), self._onGetAlbumSongs)
header_bar._selectButton.connect(
'toggled',
self._onHeaderSelectButtonToggled(self.button))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]