brasero r1874 - in trunk: . src



Author: philippr
Date: Wed Feb  4 20:26:08 2009
New Revision: 1874
URL: http://svn.gnome.org/viewvc/brasero?rev=1874&view=rev

Log:
2009-02-04  Philippe Rouquier  <ykw localhost localdomain>

	Fix #570227 â Slicing tracks in audio project is not working correctly

	* src/brasero-split-dialog.c (brasero_split_dialog_cut_clicked_cb):

Modified:
   trunk/ChangeLog
   trunk/src/brasero-split-dialog.c

Modified: trunk/src/brasero-split-dialog.c
==============================================================================
--- trunk/src/brasero-split-dialog.c	(original)
+++ trunk/src/brasero-split-dialog.c	Wed Feb  4 20:26:08 2009
@@ -776,7 +776,9 @@
 			return;
 
 		gtk_list_store_clear (priv->model);
-		for (start = step; start < length; start += step)
+
+		parts --;
+		for (start = step; start < length && parts; start += step, parts --)
 			brasero_split_dialog_cut (self, start, FALSE);
 
 		return;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]