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

David Mohr squisher at xfce.org
Wed Nov 12 18:31:14 CET 2008


Author: squisher
Date: 2008-11-12 17:31:14 +0000 (Wed, 12 Nov 2008)
New Revision: 6070

Modified:
   xfburn/trunk/xfburn/xfburn-audio-composition.c
Log:
Add DnD files to audio composition in correct order

Modified: xfburn/trunk/xfburn/xfburn-audio-composition.c
===================================================================
--- xfburn/trunk/xfburn/xfburn-audio-composition.c	2008-11-12 17:30:25 UTC (rev 6069)
+++ xfburn/trunk/xfburn/xfburn-audio-composition.c	2008-11-12 17:31:14 UTC (rev 6070)
@@ -1192,7 +1192,7 @@
 
       //DBG ("length = %d", atrack->length);
       secs = atrack->length;
-      humanlength = g_strdup_printf ("%2d:%2d", secs / 60, secs % 60);
+      humanlength = g_strdup_printf ("%2d:%02d", secs / 60, secs % 60);
 
       if (priv->n_tracks == 99) {
         gdk_threads_enter ();
@@ -1670,7 +1670,10 @@
       file = strtok (NULL, "\n");
     }
 
+    /* paths actually get sent to us in reverse order,
+     * so no reverse is necessary to add them in the same order as selected.
     priv->full_paths_to_add = g_list_reverse (priv->full_paths_to_add);
+     */
     priv->path_where_insert = path_where_insert;
 
     if (ret) {




More information about the Goodies-commits mailing list