[gnome-music] widgets: Remove filtering in Albums view



commit e83f0fd6484446c8993c54e09232dc97c897df2b
Author: Arnel Borja <arnelborja src gnome org>
Date:   Mon May 5 01:29:07 2014 +0800

    widgets: Remove filtering in Albums view

 gnomemusic/widgets.py |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/gnomemusic/widgets.py b/gnomemusic/widgets.py
index ae56319..31d1c59 100644
--- a/gnomemusic/widgets.py
+++ b/gnomemusic/widgets.py
@@ -100,8 +100,7 @@ class AlbumWidget(Gtk.EventBox):
 
     @log
     def _on_item_activated(self, widget, id, path):
-        child_path = self.model.convert_path_to_child_path(path)
-        _iter = self.model.get_iter(child_path)
+        _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]