Mercurial > audlegacy
changeset 4872:9501ad351ac0
When deleting last playlist, set title to "Untitled Playlist", as for a new one.
author | John Lindgren <john.lindgren@tds.net> |
---|---|
date | Sun, 26 Apr 2009 04:34:53 -0400 |
parents | 985cd1e770df |
children | be6c7aea8665 |
files | src/audlegacy/playlist.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/audlegacy/playlist.c Sun Apr 26 03:35:03 2009 -0400 +++ b/src/audlegacy/playlist.c Sun Apr 26 04:34:53 2009 -0400 @@ -321,7 +321,7 @@ /* trying to free the last playlist simply clears and resets it */ if (g_list_length(playlists) < 2) { playlist_clear(playlist); - playlist_set_current_name(playlist, NULL); + playlist_set_current_name(playlist, "Untitled Playlist"); playlist_filename_set(playlist, NULL); return; }