[gnome-music/freeze-break: 98/107] view: Cleanup unused code



commit 160fc20a9b408c15ffc3976272a7b07f878c4d9d
Author: Arnel A. Borja <arnelborja src gnome org>
Date:   Sun Sep 8 21:40:41 2013 +0800

    view: Cleanup unused code

 gnomemusic/view.py |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gnomemusic/view.py b/gnomemusic/view.py
index f62387c..be1a5f2 100644
--- a/gnomemusic/view.py
+++ b/gnomemusic/view.py
@@ -617,7 +617,6 @@ class Playlist(ViewContainer):
             .add_class('songs-list')
         self._add_list_renderers()
 
-        self._playlist_list = {}
         self.playlists_model = Gtk.ListStore(
             GObject.TYPE_STRING,
             GObject.TYPE_STRING,
@@ -798,7 +797,6 @@ class Playlist(ViewContainer):
 
     def _add_playlist_item(self, item):
         _iter = self.playlists_model.append()
-        self._playlist_list[item] = {"iter": _iter, "albums": []}
         self.playlists_model.set(_iter, [2], [item])
 
     def _on_item_activated(self, widget, id, path):


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