[gnome-music/wip/jfelder/playlists-core-rewrite-prep-work: 4/24] playlistsview: Remove unused attribute _current_playlist_index
- From: Jean Felder <jfelder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/jfelder/playlists-core-rewrite-prep-work: 4/24] playlistsview: Remove unused attribute _current_playlist_index
- Date: Wed, 3 Jul 2019 16:48:11 +0000 (UTC)
commit fcd33f450307dde8fc6d497a821434bb85ebc16c
Author: Jean Felder <jfelder src gnome org>
Date: Mon Jul 1 20:07:33 2019 +0200
playlistsview: Remove unused attribute _current_playlist_index
This variable is not used anymore.
gnomemusic/views/playlistsview.py | 2 --
1 file changed, 2 deletions(-)
---
diff --git a/gnomemusic/views/playlistsview.py b/gnomemusic/views/playlistsview.py
index b259c66e..1649841e 100644
--- a/gnomemusic/views/playlistsview.py
+++ b/gnomemusic/views/playlistsview.py
@@ -116,7 +116,6 @@ class PlaylistsView(BaseView):
self._iter_to_clean = None
self._iter_to_clean_model = None
self._current_playlist = None
- self._current_playlist_index = None
self._plays_songs_on_activation = False
self.pls_todelete = {}
self._songs_todelete = {}
@@ -537,7 +536,6 @@ class PlaylistsView(BaseView):
self._current_playlist = playlist
self._pl_ctrls.props.playlist_name = playlist_name
- self._current_playlist_index = row.get_index()
# if the active queue has been set by this playlist,
# use it as model, otherwise build the liststore
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]