[gnome-music/wip/merge: 160/343] widgets: correct parameters for renderers in album view
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/merge: 160/343] widgets: correct parameters for renderers in album view
- Date: Thu, 25 Jul 2013 11:26:26 +0000 (UTC)
commit 2d27461eb7eba9a537dbf5b2e4483ea22cb13670
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date: Tue Jul 16 17:11:18 2013 +0200
widgets: correct parameters for renderers in album view
gnomemusic/widgets.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnomemusic/widgets.py b/gnomemusic/widgets.py
index d665949..cd3473c 100644
--- a/gnomemusic/widgets.py
+++ b/gnomemusic/widgets.py
@@ -150,10 +150,10 @@ class AlbumWidget(Gtk.EventBox):
durationRenderer.xalign = 1.0
listWidget.add_renderer(durationRenderer, self._durationRendererText, None)
- def _typeRendererText(self, col, cell, model, iter):
+ def _typeRendererText(self, col, cell, model, iter, data):
pass
- def _durationRendererText(self):
+ def _durationRendererText(self, col, cell, model, iter, data):
item = self.model.get_value(iter, 5)
duration = item.get_duration()
if item is None:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]