[rhythmbox: 1/2] playlist-manager: use filename instead of "Unnamed Playlist" for playlists without a name




commit 453f0bcd572bf89f72c73a0496acd303e81d2e50
Author: crvi <crvisqr gmail com>
Date:   Mon Jun 27 09:53:03 2022 +0530

    playlist-manager: use filename instead of "Unnamed Playlist" for playlists without a name
    
    Fixes: #1591

 shell/rb-playlist-manager.c | 3 ---
 1 file changed, 3 deletions(-)
---
diff --git a/shell/rb-playlist-manager.c b/shell/rb-playlist-manager.c
index c4809a6ce..0d6eba6d4 100644
--- a/shell/rb-playlist-manager.c
+++ b/shell/rb-playlist-manager.c
@@ -261,9 +261,6 @@ playlist_load_started_cb (TotemPlParser *parser, const char *uri, GHashTable *me
        rb_debug ("loading new playlist %s", uri);
 
        title = g_hash_table_lookup (metadata, TOTEM_PL_PARSER_FIELD_TITLE);
-       if (title == NULL)
-               title = _("Unnamed playlist");
-
        mgr->priv->loading_playlist =
                        RB_STATIC_PLAYLIST_SOURCE (rb_playlist_manager_new_playlist (mgr, title, FALSE));
 }


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