[gnome-music/wip/mschraal/core] playlistsview: Remove unused method _is_current_playlist
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/core] playlistsview: Remove unused method _is_current_playlist
- Date: Sat, 13 Jul 2019 22:40:40 +0000 (UTC)
commit 4f46a052bb7e028f562f6d0967c9db738a75126f
Author: Jean Felder <jfelder src gnome org>
Date: Tue Jul 9 09:30:03 2019 +0200
playlistsview: Remove unused method _is_current_playlist
gnomemusic/views/playlistsview.py | 8 --------
1 file changed, 8 deletions(-)
---
diff --git a/gnomemusic/views/playlistsview.py b/gnomemusic/views/playlistsview.py
index 75d3a7af..083a9302 100644
--- a/gnomemusic/views/playlistsview.py
+++ b/gnomemusic/views/playlistsview.py
@@ -252,14 +252,6 @@ class PlaylistsView(BaseView):
def _on_play_playlist(self, menuitem, data=None):
self._song_activated()
- @log
- def _is_current_playlist(self, playlist):
- """Check if playlist is currently displayed"""
- if self._current_playlist is None:
- return False
-
- return playlist.props.pl_id == self._current_playlist.props.pl_id
-
@GObject.Property(type=bool, default=False)
def rename_active(self):
"""Indicate if renaming dialog is active"""
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]