[gnome-music/wip/merge: 164/343] widgets: album: get_iter returns an iter, not an array
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/merge: 164/343] widgets: album: get_iter returns an iter, not an array
- Date: Thu, 25 Jul 2013 11:26:46 +0000 (UTC)
commit 873fbc395b1767f4bc18ba862d06576c55375066
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date: Tue Jul 16 17:20:09 2013 +0200
widgets: album: get_iter returns an iter, not an array
gnomemusic/widgets.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnomemusic/widgets.py b/gnomemusic/widgets.py
index c9ac431..f35f868 100644
--- a/gnomemusic/widgets.py
+++ b/gnomemusic/widgets.py
@@ -105,7 +105,7 @@ class AlbumWidget(Gtk.EventBox):
self.show_all()
def _onItemActivated(self, widget, id, path):
- iter = self.model.get_iter(path)[1]
+ iter = self.model.get_iter(path)
if(self.model.get_value(iter, 7) != ERROR_ICON_NAME):
if (self.iterToClean and self.player.playlistId == self.album):
item = self.model.get_value(self.iterToClean, 5)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]