[Goodies-commits] r5580 - xfburn/trunk/xfburn

David Mohr squisher at xfce.org
Sun Oct 12 09:22:28 CEST 2008


Author: squisher
Date: 2008-10-12 07:22:28 +0000 (Sun, 12 Oct 2008)
New Revision: 5580

Modified:
   xfburn/trunk/xfburn/xfburn-audio-composition.c
Log:
Fixing a bug when adding a folder with subfolders to an audio composition

Modified: xfburn/trunk/xfburn/xfburn-audio-composition.c
===================================================================
--- xfburn/trunk/xfburn/xfburn-audio-composition.c	2008-10-12 06:36:18 UTC (rev 5579)
+++ xfburn/trunk/xfburn/xfburn-audio-composition.c	2008-10-12 07:22:28 UTC (rev 5580)
@@ -1078,6 +1078,8 @@
       return FALSE;
     }
     
+    //DBG ("Adding file %s (%s)", name, path);
+
     basename = g_path_get_basename (path);
     if ( (strlen (basename) > 1) && (basename[0] == '.') ) {
       /* FIXME: is this really what we want? */
@@ -1150,6 +1152,10 @@
         }
       }
 
+      /* since we don't add the folder, the next song needs
+       * to get added after the last one from this directory */
+      *iter = *iter_last;
+
       if (insertion == NULL)
         g_free (iter_last);
 




More information about the Goodies-commits mailing list