[gnome-music/wip/merge: 128/343] view: get iter correctly



commit 5cca16a0c3b2fe444784a08bd15bcfe1da6c6258
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date:   Mon Jul 15 19:18:31 2013 +0200

    view: get iter correctly

 gnomemusic/view.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnomemusic/view.py b/gnomemusic/view.py
index c96621a..c122b52 100644
--- a/gnomemusic/view.py
+++ b/gnomemusic/view.py
@@ -237,7 +237,7 @@ class Albums(ViewContainer):
             self.visible_child = self._grid
 
     def _onItemActivated(self, widget, id, path):
-        iter = self._model.get_iter(path)[1]
+        iter = self._model.get_iter(path)
         title = self._model.get_value(iter, 2)
         artist = self._model.get_value(iter, 3)
         item = self._model.get_value(iter, 5)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]