[gnome-music/wip/jfelder/fix-playlist-renaming: 1/4] playlistsview: Remove some unused code



commit f427007ed25e48a7eaa4e6075197599656503c7e
Author: Jean Felder <jfelder src gnome org>
Date:   Tue Jan 7 20:00:07 2020 +0100

    playlistsview: Remove some unused code
    
    This probably comes from a wrong rebase during the core rewrite.

 gnomemusic/views/playlistsview.py | 6 ------
 1 file changed, 6 deletions(-)
---
diff --git a/gnomemusic/views/playlistsview.py b/gnomemusic/views/playlistsview.py
index e7c60755..5c77d6ad 100644
--- a/gnomemusic/views/playlistsview.py
+++ b/gnomemusic/views/playlistsview.py
@@ -320,12 +320,6 @@ class PlaylistsView(BaseView):
         pl_torename = selection.props.playlist
         self._pl_ctrls.enable_rename_playlist(pl_torename)
 
-    @log
-    def _on_playlist_renamed(self, arguments, new_name):
-        selection = self._sidebar.get_selected_row()
-        pl_torename = selection.props.playlist
-        pl_torename.rename(new_name)
-
     @log
     def _stage_playlist_for_deletion(self, menutime, data=None):
         selected_row = self._sidebar.get_selected_row()


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