Update of /cvsroot/gtkpod/gtkpod/src
In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv12344/src

Modified Files:
        details.c 
Log Message:
         * src/details.c: removing of artwork did not really work.



Index: details.c
===================================================================
RCS file: /cvsroot/gtkpod/gtkpod/src/details.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- details.c   28 May 2006 15:49:47 -0000      1.13
+++ details.c   2 Jun 2006 17:54:24 -0000       1.14
@@ -1,4 +1,4 @@
-/* Time-stamp: <2006-05-29 00:45:09 jcs>
+/* Time-stamp: <2006-06-03 02:52:34 jcs>
 |
 |  Copyright (C) 2002-2005 Jorg Schuler <jcsjcs at users sourceforge net>
 |  Part of the gtkpod project.
@@ -492,6 +492,12 @@
        toetr->thumb_path_utf8 = g_strdup (fretr->thumb_path_utf8);
        changed = TRUE;
     }
+    /* make sure artwork gets removed, even if both thumb_paths were
+       unset ("") */
+    if (!frtrack->artwork->thumbnails)
+    {
+       changed |= gp_track_remove_thumbnails (totrack);
+    }
     return changed;
 }
 



_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2

Reply via email to