[brasero] Actually retry to burn the disc if the user replaced it after a disc too small error



commit a7eb99f0c9173fe008c2772e077e0a18c65eab6b
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date:   Fri May 21 13:26:13 2010 +0200

    Actually retry to burn the disc if the user replaced it after a disc too small error

 libbrasero-burn/brasero-burn.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/libbrasero-burn/brasero-burn.c b/libbrasero-burn/brasero-burn.c
index 07addee..e9b3973 100644
--- a/libbrasero-burn/brasero-burn.c
+++ b/libbrasero-burn/brasero-burn.c
@@ -2135,7 +2135,9 @@ brasero_burn_run_tasks (BraseroBurn *burn,
 					                                         BRASERO_BURN_ERROR_MEDIUM_SPACE,
 					                                         error);
 					if (result == BRASERO_BURN_OK)
-						break;
+						result = BRASERO_BURN_RETRY;
+
+					break;
 				}
 			}
 			brasero_track_type_free (type);



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