changeset 3532:7532ab3d25e5 trunk

Automated merge with ssh://hg.atheme-project.org//hg/audacious
author Jonathan Schleifer <js@h3c.de>
date Sat, 15 Sep 2007 10:54:23 +0200
parents 18391c12c18c (current diff) 08dae20c75f0 (diff)
children 09e457d346f9
files
diffstat 1 files changed, 1 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/main.c	Sat Sep 15 10:54:08 2007 +0200
+++ b/src/audacious/main.c	Sat Sep 15 10:54:23 2007 +0200
@@ -938,6 +938,7 @@
 
     /* Save extra playlists that were loaded from PLAYLISTS_DIR  */
     saved = NULL;
+    saved = g_list_prepend(saved, playlist); /* don't save default again */
     if(!dir_foreach(bmp_paths[BMP_PATH_PLAYLISTS_DIR], save_extra_playlist,
             &saved, NULL)) {
         g_warning("Could not save extra playlists\n");
@@ -1299,12 +1300,6 @@
 
     title = playlist_get_current_name(playlist);
 
-    if (playlist_playlists_equal(playlist, deflist)) {
-        /* same as default playlist */
-        playlist_remove_playlist(playlist);
-        playlist_filename_set(deflist, path);
-    }
-
     return FALSE; /* keep loading other playlists */
 }